forked from qt-creator/qt-creator
debugger: next attempt at telling the locals view that an item has children
without actually fetching them
This commit is contained in:
@@ -927,6 +927,7 @@ void WatchModel::insertData(const WatchData &data)
|
|||||||
oldItem->generation = generationCounter;
|
oldItem->generation = generationCounter;
|
||||||
QModelIndex idx = watchIndex(oldItem);
|
QModelIndex idx = watchIndex(oldItem);
|
||||||
emit dataChanged(idx, idx.sibling(idx.row(), 2));
|
emit dataChanged(idx, idx.sibling(idx.row(), 2));
|
||||||
|
emit layoutChanged();
|
||||||
} else {
|
} else {
|
||||||
// add new entry
|
// add new entry
|
||||||
//MODEL_DEBUG("ADD : " << data.iname << data.value);
|
//MODEL_DEBUG("ADD : " << data.iname << data.value);
|
||||||
|
|||||||
Reference in New Issue
Block a user