aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/modeleditor/actionhandler.cpp
diff options
context:
space:
mode:
authorJochen Becher <jochen_becher@gmx.de>2015-09-24 20:56:54 +0200
committerJochen Becher <jochen_becher@gmx.de>2015-09-30 18:51:12 +0000
commitb9e0d9462d23d64982ea321bbe4e34291e2f2669 (patch)
tree5c9afd9c9284b695094000906f3dbaa7fe3330fa /src/plugins/modeleditor/actionhandler.cpp
parent64760f0a8d1f72589d995accd003bfd9ec1cc792 (diff)
ModelEditor: Use shortcut "Return" for renaming elements
ModelEditor used short cut "F2" for renaming elements which shall be used for "Goto Definition" in future. Change-Id: If20b508eca1cf177e2140933ad696e9032d56dc0 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/modeleditor/actionhandler.cpp')
-rw-r--r--src/plugins/modeleditor/actionhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/modeleditor/actionhandler.cpp b/src/plugins/modeleditor/actionhandler.cpp
index f248d00aa9..151fc63de7 100644
--- a/src/plugins/modeleditor/actionhandler.cpp
+++ b/src/plugins/modeleditor/actionhandler.cpp
@@ -141,7 +141,7 @@ void ActionHandler::createEditPropertiesShortcut(const Core::Id &shortcutId)
auto editAction = new QAction(tr("Edit selected element in properties view"), Core::ICore::mainWindow());
Core::Command *editCommand = Core::ActionManager::registerAction(
editAction, shortcutId, d->context);
- editCommand->setDefaultKeySequence(QKeySequence(tr("F2")));
+ editCommand->setDefaultKeySequence(QKeySequence(tr("Return")));
connect(editAction, &QAction::triggered, this, &ActionHandler::onEditProperties);
}