diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index d9da8289b80..70d6ff508c2 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -384,7 +384,7 @@ QAction *TextEditorActionHandler::registerAction(const Core::Id &id, QAction *result = new QAction(title, this); Core::Command *command = Core::ActionManager::registerAction(result, id, m_contextId, scriptable); if (!keySequence.isEmpty()) - command->setKeySequence(keySequence); + command->setDefaultKeySequence(keySequence); if (container && menueGroup) container->addAction(command, menueGroup);