forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user