summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljsoutline.h
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-04-09 17:04:50 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-04-16 13:52:41 +0200
commitaeabe1a727af3ebc0e05570da20f3d0a0a427f3b (patch)
treea1d04fedb07354bca4723b53150744c8394d7b0d /src/plugins/qmljseditor/qmljsoutline.h
parent18f8486b05a48f072cf0b0170b8854a25bb9d372 (diff)
downloadqt-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.h1
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: