PlainTextEditor TextActionHandler: Only handle own editors

Change-Id: I018682bfb6bfc9fec77f8e4996cff5b6fd15c526
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Daniel Teske
2014-01-10 19:40:20 +01:00
committed by Eike Ziller
parent 9ce8e85109
commit 76484de7f3

View File

@@ -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);