forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -1013,9 +1013,8 @@ void QmlEngine::updateWatchData(const WatchData &data,
|
||||
synchronizeWatchers();
|
||||
}
|
||||
|
||||
|
||||
if (!data.isSomethingNeeded())
|
||||
watchHandler()->insertIncompleteData(data);
|
||||
watchHandler()->insertData(data);
|
||||
}
|
||||
|
||||
void QmlEngine::synchronizeWatchers()
|
||||
|
||||
Reference in New Issue
Block a user