Changed default shortcut for Insert Line Below Current Line

Use the Visual Studio shortcut instead of the Eclipse shortcut by
default. It seems to make a bit more sense in combination with
Ctrl+Shift+Return.
This commit is contained in:
Thorbjørn Lindeijer
2010-05-03 17:06:49 +02:00
parent 32ab9878fe
commit fbcf42eeda

View File

@@ -300,7 +300,7 @@ void TextEditorActionHandler::createActions()
m_insertLineBelowAction = new QAction(tr("Insert Line Below Current Line"), this);
command = am->registerAction(m_insertLineBelowAction, Constants::INSERT_LINE_BELOW, m_contextId);
command->setDefaultKeySequence(QKeySequence(tr("Shift+Return")));
command->setDefaultKeySequence(QKeySequence(tr("Ctrl+Return")));
connect(m_insertLineBelowAction, SIGNAL(triggered()), this, SLOT(insertLineBelow()));
}