forked from qt-creator/qt-creator
debugger: make watch and register items non-draggable
This commit is contained in:
@@ -125,8 +125,8 @@ Qt::ItemFlags RegisterHandler::flags(const QModelIndex &idx) const
|
|||||||
|
|
||||||
static const ItemFlags notEditable =
|
static const ItemFlags notEditable =
|
||||||
ItemIsSelectable
|
ItemIsSelectable
|
||||||
| ItemIsDragEnabled
|
// | ItemIsDragEnabled
|
||||||
| ItemIsDropEnabled
|
// | ItemIsDropEnabled
|
||||||
| ItemIsEnabled;
|
| ItemIsEnabled;
|
||||||
|
|
||||||
static const ItemFlags editable = notEditable | ItemIsEditable;
|
static const ItemFlags editable = notEditable | ItemIsEditable;
|
||||||
|
|||||||
@@ -714,8 +714,8 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &idx) const
|
|||||||
|
|
||||||
static const ItemFlags notEditable =
|
static const ItemFlags notEditable =
|
||||||
ItemIsSelectable
|
ItemIsSelectable
|
||||||
| ItemIsDragEnabled
|
// | ItemIsDragEnabled
|
||||||
| ItemIsDropEnabled
|
// | ItemIsDropEnabled
|
||||||
// | ItemIsUserCheckable
|
// | ItemIsUserCheckable
|
||||||
// | ItemIsTristate
|
// | ItemIsTristate
|
||||||
| ItemIsEnabled;
|
| ItemIsEnabled;
|
||||||
|
|||||||
Reference in New Issue
Block a user