Debugger: Fix display in separate Window

TreeModel::forAllChildren and TreeModel::walkTree differ
in the handling of the topmost item.

Change-Id: Id2032f69bb47218292507d33ed00935874afa73f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-06-16 09:19:07 +02:00
parent f81070a852
commit 6e3fc27fd8

View File

@@ -1301,6 +1301,7 @@ bool WatchHandler::insertItem(WatchItem *item)
item->update();
m_model->showEditValue(item);
item->forAllChildren([this](WatchItem *sub) { m_model->showEditValue(sub); });
return !found;