Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/EMStudioSDK/Source/KeyboardShortcutsWindow.cpp
void KeyboardShortcutsWindow::OnResetToDefault()
    {
        if (m_contextMenuAction == nullptr)
        {
            return;
        }

        m_contextMenuAction->m_qaction->setShortcut(m_contextMenuAction->m_defaultKeySequence);

        ReInit();
    }
// reset to default after pressing context menu
reset to default after pressing context menu
reset to default after pressing context menu
void KeyboardShortcutsWindow::OnResetToDefault()
    {
        if (m_contextMenuAction == nullptr)
        {
            return;
        }
        m_contextMenuAction->m_qaction->setShortcut(m_contextMenuAction->m_defaultKeySequence);
        ReInit();
    }
void KeyboardShortcutsWindow :: OnResetToDefault ( ) { if ( m_contextMenuAction == nullptr ) { return ; } m_contextMenuAction -> m_qaction -> setShortcut ( m_contextMenuAction -> m_defaultKeySequence ) ; ReInit ( ) ; }
reset to default after pressing context menu
reset to default after pressing context menu