Fix mnemonic conflict between Edit > Preferences and Paste

Change-Id: Ib9a991c960c694338a1f75148a1715f669caaa45
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2022-07-01 09:22:44 +02:00
parent 03fc7c69f1
commit 6063f5c89c

View File

@@ -720,7 +720,7 @@ void MainWindow::registerDefaultActions()
medit->appendGroup(Constants::G_EDIT_PREFERENCES);
medit->addSeparator(Constants::G_EDIT_PREFERENCES);
m_optionsAction = new QAction(tr("&Preferences..."), this);
m_optionsAction = new QAction(tr("Pr&eferences..."), this);
m_optionsAction->setMenuRole(QAction::PreferencesRole);
cmd = ActionManager::registerAction(m_optionsAction, Constants::OPTIONS);
cmd->setDefaultKeySequence(QKeySequence::Preferences);