Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/KeyboardShortcutsWindow.cpp
MysticQt::KeyboardShortcutManager::Group* KeyboardShortcutsWindow::GetCurrentGroup() const
    {
        // get access to the group
        int32 groupIndex = m_listWidget->currentRow();
        if (groupIndex == -1)
        {
            return nullptr;
        }

        MysticQt::KeyboardShortcutManager* shortcutManager = GetMainWindow()->GetShortcutManager();
        MysticQt::KeyboardShortcutManager::Group* group = shortcutManager->GetGroup(groupIndex);
        return group;
    }
// returns the currently selected group, based on the list widget item on the left
returns the currently selected group, based on the list widget item on the left
returns the currently selected group based on the list widget item on the left
MysticQt::KeyboardShortcutManager::Group* KeyboardShortcutsWindow::GetCurrentGroup() const
    {
        int32 groupIndex = m_listWidget->currentRow();
        if (groupIndex == -1)
        {
            return nullptr;
        }
        MysticQt::KeyboardShortcutManager* shortcutManager = GetMainWindow()->GetShortcutManager();
        MysticQt::KeyboardShortcutManager::Group* group = shortcutManager->GetGroup(groupIndex);
        return group;
    }
MysticQt :: KeyboardShortcutManager :: Group * KeyboardShortcutsWindow :: GetCurrentGroup ( ) const { int32 groupIndex = m_listWidget -> currentRow ( ) ; if ( groupIndex == -1 ) { return nullptr ; } MysticQt :: KeyboardShortcutManager * shortcutManager = GetMainWindow ( ) -> GetShortcutManager ( ) ; MysticQt :: KeyboardShortcutManager :: Group * group = shortcutManager -> GetGroup ( groupIndex ) ; return group ; }
returns the currently selected group, based on the list widget item on the left
returns the currently selected group based on the list widget item on the left
// get access to the group