summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlinspectoragent.cpp
diff options
context:
space:
mode:
authorAurindam Jana <aurindam.jana@digia.com>2012-10-09 16:13:29 +0200
committerAurindam Jana <aurindam.jana@digia.com>2012-10-10 16:55:07 +0200
commit388a21c82646f6684dbd51f7fcfc9f5cd45c01af (patch)
tree6f0ed86ed49c699ea3ad9366376ab7e9ce400a94 /src/plugins/debugger/qml/qmlinspectoragent.cpp
parent3f2e43748cad534b728b1c6eb3774fc02eb854b1 (diff)
downloadqt-creator-388a21c82646f6684dbd51f7fcfc9f5cd45c01af.tar.gz
QmlDebugger: Insert locals correctly
The watchhandler needs to be reset for locals before inserting the values of a new frame. Also the DebuggerTooltipManager needs to be notified. The values of the locals in the LocalsAndExpressions window should be editable. Task-number: QTCREATORBUG-7992 Change-Id: I556e23b408db09b510f1f2bc350ff55187ec87c2 Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlinspectoragent.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlinspectoragent.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/debugger/qml/qmlinspectoragent.cpp b/src/plugins/debugger/qml/qmlinspectoragent.cpp
index 1da5b51d96..935ab2234c 100644
--- a/src/plugins/debugger/qml/qmlinspectoragent.cpp
+++ b/src/plugins/debugger/qml/qmlinspectoragent.cpp
@@ -885,9 +885,6 @@ bool QmlInspectorAgent::isConnected() const
void QmlInspectorAgent::clearObjectTree()
{
- // clear view
- m_debuggerEngine->watchHandler()->cleanup();
-
m_objectTreeQueryIds.clear();
m_fetchDataIds.clear();
int old_count = m_debugIdHash.count();