forked from qt-creator/qt-creator
Fix mnemonic conflict between Edit > Preferences and Paste
Change-Id: Ib9a991c960c694338a1f75148a1715f669caaa45 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -720,7 +720,7 @@ void MainWindow::registerDefaultActions()
|
|||||||
medit->appendGroup(Constants::G_EDIT_PREFERENCES);
|
medit->appendGroup(Constants::G_EDIT_PREFERENCES);
|
||||||
medit->addSeparator(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);
|
m_optionsAction->setMenuRole(QAction::PreferencesRole);
|
||||||
cmd = ActionManager::registerAction(m_optionsAction, Constants::OPTIONS);
|
cmd = ActionManager::registerAction(m_optionsAction, Constants::OPTIONS);
|
||||||
cmd->setDefaultKeySequence(QKeySequence::Preferences);
|
cmd->setDefaultKeySequence(QKeySequence::Preferences);
|
||||||
|
|||||||
Reference in New Issue
Block a user