Commit a6c81b02 authored by hjk's avatar hjk

Debugger: Fix regression in "Show in separate Window"

After the tree model changes, the main insertion path did
not trigger the update in the separate Window anymore.

Task-number: QTCREATORBUG-14101
Change-Id: I90d8c0874be473a67c6260ca9bf63099f5d54a06
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 465ee1f7
......@@ -1177,6 +1177,8 @@ void WatchModel::insertItem(WatchItem *item)
QTC_ASSERT(parent, return);
const int row = findInsertPosition(parent->children(), item);
parent->insertChild(row, item);
item->walkTree([this](TreeItem *sub) { showEditValue(*static_cast<WatchItem *>(sub)); });
}
void WatchModel::reexpandItems()
......
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