diff options
author | Daniel Teske <daniel.teske@digia.com> | 2014-04-09 17:04:50 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@digia.com> | 2014-04-16 13:52:41 +0200 |
commit | aeabe1a727af3ebc0e05570da20f3d0a0a427f3b (patch) | |
tree | a1d04fedb07354bca4723b53150744c8394d7b0d /src/plugins/qmljseditor/qmljsoutline.h | |
parent | 18f8486b05a48f072cf0b0170b8854a25bb9d372 (diff) | |
download | qt-creator-aeabe1a727af3ebc0e05570da20f3d0a0a427f3b.tar.gz |
OutlineViews: Make behavior consistent with other views
Allow them to be focused, activate also on return/enter. Also fix focus
handling so that assigning a shortcut to "Activate Outline View"
actually
works.
Change-Id: I878777ae0dad493af1715b36ee264a4f0c12443e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/qmljseditor/qmljsoutline.h')
-rw-r--r-- | src/plugins/qmljseditor/qmljsoutline.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmljseditor/qmljsoutline.h b/src/plugins/qmljseditor/qmljsoutline.h index 668b697c72..39cf78be98 100644 --- a/src/plugins/qmljseditor/qmljsoutline.h +++ b/src/plugins/qmljseditor/qmljsoutline.h @@ -80,6 +80,7 @@ private slots: void updateSelectionInTree(const QModelIndex &index); void updateSelectionInText(const QItemSelection &selection); void updateTextCursor(const QModelIndex &index); + void focusEditor(); void setShowBindings(bool showBindings); private: |