From 6c15cbbee9d8272fdb75d150cd27516c07edf5a6 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 3 Mar 2011 10:39:05 +0100 Subject: [PATCH] Debugger: Enable updates in watchwindow when changing model. Might be left in disabled state in case engine binary crashes while expanding locals. Task-number: QTCREATORBUG-3099 --- src/plugins/debugger/watchwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index deb6a737c04..88724359f4c 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -601,6 +601,8 @@ void WatchWindow::setModel(QAbstractItemModel *model) connect(model, SIGNAL(layoutChanged()), SLOT(resetHelper())); connect(model, SIGNAL(enableUpdates(bool)), SLOT(setUpdatesEnabled(bool))); + // Potentially left in disabled state in case engine crashes when expanding. + setUpdatesEnabled(true); } void WatchWindow::setUpdatesEnabled(bool enable)