debugger: make assignment in watch window look nicer, also make it work in

script debugger
This commit is contained in:
hjk
2009-04-07 13:38:19 +02:00
parent 851fb975ec
commit 8d41168672
7 changed files with 40 additions and 17 deletions

View File

@@ -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;