Gems/EMotionFX/Code/MysticQt/Source/KeyboardShortcutManager.cpp
KeyboardShortcutManager::Action* KeyboardShortcutManager::FindAction(const QString& actionName, AZStd::string_view groupName) const
    {
        const Group* group = FindGroupByName(groupName);
        if (!group)
        {
            return nullptr;
        }

        Action* action = group->FindActionByName(actionName, false);
        if (action)
        {
            return action;
        }
        return group->FindActionByName(actionName, true);
    }
// find the action with the given name in the given group
find the action with the given name in the given group
find the action with the given name in the given group
KeyboardShortcutManager::Action* KeyboardShortcutManager::FindAction(const QString& actionName, AZStd::string_view groupName) const
    {
        const Group* group = FindGroupByName(groupName);
        if (!group)
        {
            return nullptr;
        }
        Action* action = group->FindActionByName(actionName, false);
        if (action)
        {
            return action;
        }
        return group->FindActionByName(actionName, true);
    }
KeyboardShortcutManager :: Action * KeyboardShortcutManager :: FindAction ( const QString & actionName , AZStd :: string_view groupName ) const { const Group * group = FindGroupByName ( groupName ) ; if ( ! group ) { return nullptr ; } Action * action = group -> FindActionByName ( actionName , false ) ; if ( action ) { return action ; } return group -> FindActionByName ( actionName , true ) ; }
find the action with the given name in the given group
find the action with the given name in the given group