forked from qt-creator/qt-creator
debugger: fixes and improvements related to the Locals display
Split the concepts 'enabled' and 'editable' in the dumper output Disable "<not in scope>" entries, also fix their type. Fix glitch in type beautification for display Find reason for failing bulk updates.
This commit is contained in:
@@ -353,7 +353,16 @@ void WatchWindow::setModel(QAbstractItemModel *model)
|
||||
if (m_type != LocalsType)
|
||||
header()->hide();
|
||||
|
||||
connect(model, SIGNAL(layoutChanged()), this, SLOT(resetHelper()));
|
||||
connect(model, SIGNAL(layoutChanged()),
|
||||
this, SLOT(resetHelper()));
|
||||
connect(model, SIGNAL(enableUpdates(bool)),
|
||||
this, SLOT(setUpdatesEnabled(bool)));
|
||||
}
|
||||
|
||||
void WatchWindow::setUpdatesEnabled(bool enable)
|
||||
{
|
||||
//qDebug() << "ENABLING UPDATES: " << enable;
|
||||
QTreeView::setUpdatesEnabled(enable);
|
||||
}
|
||||
|
||||
void WatchWindow::resetHelper()
|
||||
|
||||
Reference in New Issue
Block a user