debugger: enable selection for Locals & Expressions

Task-number: QTCREATORBUG-5114
Change-Id: I246bcbd7fdaa8912d3855534a72913c0d3003f3e
Reviewed-on: http://codereview.qt.nokia.com/1342
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-07-08 08:40:17 +02:00
committed by hjk
parent 7d91609671
commit 743f0709a6

View File

@@ -845,7 +845,7 @@ Qt::ItemFlags WatchModel::flags(const QModelIndex &idx) const
// source of a drag and drop operation and as a drop target.
static const Qt::ItemFlags notEditable
= /* Qt::ItemIsSelectable | */ Qt::ItemIsEnabled;
= Qt::ItemIsSelectable | Qt::ItemIsEnabled;
static const Qt::ItemFlags editable = notEditable | Qt::ItemIsEditable;
// Disable editing if debuggee is positively running.