diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 02947de08bd..caced6764c6 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -173,12 +173,6 @@ void TextEditorActionHandler::createActions() m_insertLineBelowAction = registerAction(INSERT_LINE_BELOW, SLOT(insertLineBelow()), true, tr("Insert Line Below Current Line"), QKeySequence(tr("Ctrl+Return"))); - m_upperCaseSelectionAction = registerAction(UPPERCASE_SELECTION, - SLOT(uppercaseSelection()), true, tr("Uppercase Selection"), - QKeySequence(Core::UseMacShortcuts ? tr("Meta+Shift+U") : tr("Alt+Shift+U"))); - m_lowerCaseSelectionAction = registerAction(LOWERCASE_SELECTION, - SLOT(lowercaseSelection()), true, tr("Lowercase Selection"), - QKeySequence(Core::UseMacShortcuts ? tr("Meta+U") : tr("Alt+U"))); m_switchUtf8bomAction = registerAction(SWITCH_UTF8BOM, SLOT(switchUtf8bomAction()), true); m_indentAction = registerAction(INDENT, @@ -243,6 +237,14 @@ void TextEditorActionHandler::createActions() SLOT(copyLine()), false, tr("Copy &Line"), QKeySequence(tr("Ctrl+Ins")), G_EDIT_TEXT, advancedEditMenu); + m_upperCaseSelectionAction = registerAction(UPPERCASE_SELECTION, + SLOT(uppercaseSelection()), true, tr("Uppercase Selection"), + QKeySequence(Core::UseMacShortcuts ? tr("Meta+Shift+U") : tr("Alt+Shift+U")), + G_EDIT_TEXT, advancedEditMenu); + m_lowerCaseSelectionAction = registerAction(LOWERCASE_SELECTION, + SLOT(lowercaseSelection()), true, tr("Lowercase Selection"), + QKeySequence(Core::UseMacShortcuts ? tr("Meta+U") : tr("Alt+U")), + G_EDIT_TEXT, advancedEditMenu); m_foldAction = registerAction(FOLD, SLOT(fold()), true, tr("Fold"), QKeySequence(tr("Ctrl+<")),