From be7d9bf92ada5030ef596dbf7b0fdff445298ce7 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Mon, 23 Nov 2009 10:26:27 +0100
Subject: [PATCH] debugger: next attempt at telling the locals view that an
 item has children without actually fetching them

---
 src/plugins/debugger/watchhandler.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 679fec5005c..376947429e0 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -927,6 +927,7 @@ void WatchModel::insertData(const WatchData &data)
         oldItem->generation = generationCounter;
         QModelIndex idx = watchIndex(oldItem);
         emit dataChanged(idx, idx.sibling(idx.row(), 2));
+        emit layoutChanged();
     } else {
         // add new entry
         //MODEL_DEBUG("ADD : " << data.iname << data.value);
-- 
GitLab