diff --git a/src/plugins/texteditor/plaintexteditorfactory.cpp b/src/plugins/texteditor/plaintexteditorfactory.cpp index f57cf8c2312f3a5db68df0c38e5a3df5bee0b5e6..4323de80c7006620e182134b413eeeafd587316c 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.cpp +++ b/src/plugins/texteditor/plaintexteditorfactory.cpp @@ -52,7 +52,7 @@ PlainTextEditorFactory::PlainTextEditorFactory(QObject *parent) addMimeType(QLatin1String(TextEditor::Constants::C_TEXTEDITOR_MIMETYPE_TEXT)); new TextEditorActionHandler(this, - TextEditor::Constants::C_TEXTEDITOR, + Core::Constants::K_DEFAULT_TEXT_EDITOR_ID, TextEditorActionHandler::Format | TextEditorActionHandler::UnCommentSelection | TextEditorActionHandler::UnCollapseAll);