Commit 6c15cbbe authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

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
parent 9dae6594
......@@ -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)
......
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