Debugger: Only clear the locals view when updating the QML locals

There is no reason to clear all the other views, too. The inspector
view stays valid across interruptions and the C++ views have nothing
to do with this at all.

Change-Id: I7a0bfe160a6b3c0134d592abef9c10f95fcfcd3f
Task-number: QTCREATORBUG-16692
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Ulf Hermann
2016-08-02 15:46:48 +02:00
parent 4bbd89d1b3
commit 421a66b101

View File

@@ -2155,7 +2155,7 @@ void QmlEnginePrivate::handleFrame(const QVariantMap &response)
StackHandler *stackHandler = engine->stackHandler();
WatchHandler * watchHandler = engine->watchHandler();
watchHandler->notifyUpdateStarted();
watchHandler->notifyUpdateStarted({"local"});
const int frameIndex = stackHandler->currentIndex();
if (frameIndex < 0)