forked from qt-creator/qt-creator
debugger: make assignment in watch window look nicer, also make it work in
script debugger
This commit is contained in:
@@ -493,6 +493,14 @@ QVariant WatchHandler::data(const QModelIndex &idx, int role) const
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
bool WatchHandler::setData(const QModelIndex &index, const QVariant &value, int role)
|
||||
{
|
||||
Q_UNUSED(role);
|
||||
Q_UNUSED(value);
|
||||
emit dataChanged(index, index);
|
||||
return true;
|
||||
}
|
||||
|
||||
Qt::ItemFlags WatchHandler::flags(const QModelIndex &idx) const
|
||||
{
|
||||
using namespace Qt;
|
||||
|
||||
Reference in New Issue
Block a user