Commit 87fbdbf3 authored by David Schulz's avatar David Schulz

Editor: Fixing shortcut...

for "Open Method Declaration/Definition in Next Split".

Change-Id: Iff9635978c6aeb04b6f2e86ff37eaf45755642ec
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 1a201626
......@@ -243,7 +243,7 @@ bool CppPlugin::initialize(const QStringList & /*arguments*/, QString *errorMess
new QAction(tr("Open Method Declaration/Definition in Next Split"), this);
cmd = Core::ActionManager::registerAction(openDeclarationDefinitionInNextSplit,
Constants::OPEN_DECLARATION_DEFINITION_IN_NEXT_SPLIT, context, true);
cmd->setDefaultKeySequence(QKeySequence(Qt::CTRL + Qt::Key_E, Qt::Key_Shift + Qt::Key_F2));
cmd->setDefaultKeySequence(QKeySequence(tr("Ctrl+E, Shift+F2")));
connect(openDeclarationDefinitionInNextSplit, SIGNAL(triggered()),
this, SLOT(openDeclarationDefinitionInNextSplit()));
cppToolsMenu->addAction(cmd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment