summaryrefslogtreecommitdiffstats
path: root/tools/qmldebugger/standalone/objecttree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmldebugger/standalone/objecttree.cpp')
-rw-r--r--tools/qmldebugger/standalone/objecttree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmldebugger/standalone/objecttree.cpp b/tools/qmldebugger/standalone/objecttree.cpp
index 4059e77..6c132b6 100644
--- a/tools/qmldebugger/standalone/objecttree.cpp
+++ b/tools/qmldebugger/standalone/objecttree.cpp
@@ -61,6 +61,7 @@ void ObjectTree::objectFetched()
{
dump(m_query->object(), 0);
buildTree(m_query->object(), 0);
+ setCurrentItem(topLevelItem(0));
delete m_query;
m_query = 0;