Commit 95333496 authored by Simjees Abraham's avatar Simjees Abraham Committed by Aurindam Jana

Debugger: Adding objects to be watched corrected

Adding the objects to be watched corrected in case new objects
were created.

Task-number: QTCREATORBUG-7529
Change-Id: Ica5f852f47882242a0e97692c97c0ca4ee662a4e
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 02d72213
......@@ -667,6 +667,8 @@ void QmlInspectorAgent::objectTreeFetched(const ObjectReference &object)
// 5.x
if (m_engineClient->objectName() == QmlDebug::Constants::QML_DEBUGGER
&& m_newObjectsCreated && parentIname.isEmpty()) {
if (watchData.count())
break;
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment