diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index e72771dc394..3b6016b89c2 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -1350,7 +1350,7 @@ void WatchHandler::notifyUpdateStarted(const QStringList &inames) auto marker = [](WatchItem *item) { item->outdated = true; }; if (inames.isEmpty()) { - m_model->forSecondLevelItems([marker](WatchItem *item) { + m_model->forFirstLevelItems([marker](WatchItem *item) { item->forAllChildren(marker); }); } else {