forked from qt-creator/qt-creator
debugger: fix removal of dummy <Edit> watch item using the <Del> key
This commit is contained in:
@@ -682,6 +682,9 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
|
||||
case LocalsExpressionRole:
|
||||
return QVariant(expression(item));
|
||||
|
||||
case LocalsRawExpressionRole:
|
||||
return data.exp;
|
||||
|
||||
case LocalsINameRole:
|
||||
return data.iname;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user