diff options
author | Aurindam Jana <aurindam.jana@digia.com> | 2012-11-23 13:35:44 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-11-26 15:04:56 +0100 |
commit | 46101b0bb27f8dea7ab559d15aa12ea0c3b28b5c (patch) | |
tree | 44fe2f0cf0049be49e7345021af8c40f99d3d9d4 /src/libs/utils/basetreeview.cpp | |
parent | 62b20005dd399141d40d4bda030ab6d0e61aa65c (diff) |
Inspector: Update Editor on object selection
When an object is selected in the Inspector, the
Editor is updated to show the relevant code.
Task-number: QTCREATORBUG-8246
Change-Id: I4f7fbcccdeb22849682fa72c63e87a78f48d185b
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Diffstat (limited to 'src/libs/utils/basetreeview.cpp')
-rw-r--r-- | src/libs/utils/basetreeview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/utils/basetreeview.cpp b/src/libs/utils/basetreeview.cpp index 1e668404d73..013a610e28d 100644 --- a/src/libs/utils/basetreeview.cpp +++ b/src/libs/utils/basetreeview.cpp @@ -50,6 +50,8 @@ BaseTreeView::BaseTreeView(QWidget *parent) connect(this, SIGNAL(activated(QModelIndex)), SLOT(rowActivatedHelper(QModelIndex))); + connect(this, SIGNAL(clicked(QModelIndex)), + SLOT(rowClickedHelper(QModelIndex))); connect(header(), SIGNAL(sectionClicked(int)), SLOT(headerSectionClicked(int))); |