diff --git a/src/plugins/coreplugin/coreconstants.h b/src/plugins/coreplugin/coreconstants.h index 96234c16c33..77ada82f061 100644 --- a/src/plugins/coreplugin/coreconstants.h +++ b/src/plugins/coreplugin/coreconstants.h @@ -188,7 +188,7 @@ const char G_VIEW_PANES[] = "QtCreator.Group.View.Panes"; // Tools menu groups const char G_TOOLS_DEBUG[] = "QtCreator.Group.Tools.Debug"; -const char G_TOOLS_OPTIONS[] = "QtCreator.Group.Tools.Options"; +const char G_EDIT_PREFERENCES[] = "QtCreator.Group.Edit.Preferences"; // Window menu groups const char G_WINDOW_SIZE[] = "QtCreator.Group.Window.Size"; diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp index 1fa6d4be141..4bd44b5dddc 100644 --- a/src/plugins/coreplugin/mainwindow.cpp +++ b/src/plugins/coreplugin/mainwindow.cpp @@ -717,14 +717,14 @@ void MainWindow::registerDefaultActions() connect(m_loggerAction, &QAction::triggered, this, [] { LoggingViewer::showLoggingView(); }); // Options Action - mtools->appendGroup(Constants::G_TOOLS_OPTIONS); - mtools->addSeparator(Constants::G_TOOLS_OPTIONS); + medit->appendGroup(Constants::G_EDIT_PREFERENCES); + medit->addSeparator(Constants::G_EDIT_PREFERENCES); - m_optionsAction = new QAction(tr("&Options..."), this); + m_optionsAction = new QAction(tr("&Preferences..."), this); m_optionsAction->setMenuRole(QAction::PreferencesRole); cmd = ActionManager::registerAction(m_optionsAction, Constants::OPTIONS); cmd->setDefaultKeySequence(QKeySequence::Preferences); - mtools->addAction(cmd, Constants::G_TOOLS_OPTIONS); + medit->addAction(cmd, Constants::G_EDIT_PREFERENCES); connect(m_optionsAction, &QAction::triggered, this, [] { ICore::showOptionsDialog(Id()); }); mwindow->addSeparator(Constants::G_WINDOW_LIST);