Commit 4ff28810 authored by hjk's avatar hjk
Browse files

debugger: make watch and register items non-draggable

parent 2bc40006
......@@ -125,8 +125,8 @@ Qt::ItemFlags RegisterHandler::flags(const QModelIndex &idx) const
static const ItemFlags notEditable =
ItemIsSelectable
| ItemIsDragEnabled
| ItemIsDropEnabled
// | ItemIsDragEnabled
// | ItemIsDropEnabled
| ItemIsEnabled;
static const ItemFlags editable = notEditable | ItemIsEditable;
......
......@@ -714,8 +714,8 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &idx) const
static const ItemFlags notEditable =
ItemIsSelectable
| ItemIsDragEnabled
| ItemIsDropEnabled
// | ItemIsDragEnabled
// | ItemIsDropEnabled
// | ItemIsUserCheckable
// | ItemIsTristate
| ItemIsEnabled;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment