diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-05-08 16:06:35 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-05-18 07:08:56 +0000 |
commit | 2684254fadad83dd25ae5e62141c8fc11a638543 (patch) | |
tree | 64ddd61c2ea520b574a3b96645c545e8aef76dd5 /src/plugins/texteditor/texteditoractionhandler.h | |
parent | 1f6764a54e4d508826f72a090bcb68fcd16a568d (diff) |
Fix text based Android manifest editor actions
All text editor actions were disabled. We want the actions to be enabled
when the focus is in the text editor widget in the Android manifest
editor.
For this the text editor action handler must differentiate between the
_editor_ and the _context_ that it handles. The one for the text based
manifest editor handles the manifest editor, but the context is specific
to the text editor part.
Change-Id: Ib91cc763cb27333a7d5b6e5b036dfead33961871
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.h')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index 02067ae12d..0b99c3b9b7 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -55,7 +55,8 @@ public: JumpToFileUnderCursor = 16 }; - explicit TextEditorActionHandler(QObject *parent, Core::Id contextId, uint optionalActions = None); + explicit TextEditorActionHandler(QObject *parent, Core::Id editorId, Core::Id contextId, + uint optionalActions = None); ~TextEditorActionHandler(); protected: |