forked from qt-creator/qt-creator
Help: Change OSX shortcut for bookmarks to Alt+Meta+M
The default shortcut for Help bookmarks Meta+B overrode the shortcut for "cursor back". This patch changes it to Alt+Meta+M, which not only removes the conflict but also makes it the same shortcut as the one for the editor sidebar bookmarks. Task-number: QTCREATORBUG-13093 Change-Id: I6f4f6c4891c34a3a00c39632bb0dae119d73cb99 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -335,7 +335,7 @@ void HelpWidget::addSideBar()
|
|||||||
m_bookmarkAction = new QAction(tr("Activate Help Bookmarks View"), this);
|
m_bookmarkAction = new QAction(tr("Activate Help Bookmarks View"), this);
|
||||||
cmd = Core::ActionManager::registerAction(m_bookmarkAction, Constants::HELP_BOOKMARKS,
|
cmd = Core::ActionManager::registerAction(m_bookmarkAction, Constants::HELP_BOOKMARKS,
|
||||||
m_context->context());
|
m_context->context());
|
||||||
cmd->setDefaultKeySequence(QKeySequence(Core::UseMacShortcuts ? tr("Meta+B")
|
cmd->setDefaultKeySequence(QKeySequence(Core::UseMacShortcuts ? tr("Alt+Meta+M")
|
||||||
: tr("Ctrl+Shift+B")));
|
: tr("Ctrl+Shift+B")));
|
||||||
shortcutMap.insert(QLatin1String(Constants::HELP_BOOKMARKS), cmd);
|
shortcutMap.insert(QLatin1String(Constants::HELP_BOOKMARKS), cmd);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user