forked from qt-creator/qt-creator
Debugger: Make watchers editable in coredump
Task-number: QTCREATORBUG-15001 Change-Id: Icba8175e2f3ca0ed07815fb063dec660c722231d Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f8fa24d901
commit
91848f4755
@@ -934,7 +934,7 @@ Qt::ItemFlags WatchItem::flags(int column) const
|
|||||||
const Qt::ItemFlags editable = notEditable | Qt::ItemIsEditable;
|
const Qt::ItemFlags editable = notEditable | Qt::ItemIsEditable;
|
||||||
|
|
||||||
if (state == InferiorUnrunnable)
|
if (state == InferiorUnrunnable)
|
||||||
return notEditable;
|
return (isWatcher() && column == 0 && iname.count('.') == 1) ? editable : notEditable;
|
||||||
|
|
||||||
if (isWatcher()) {
|
if (isWatcher()) {
|
||||||
if (state != InferiorStopOk
|
if (state != InferiorStopOk
|
||||||
|
Reference in New Issue
Block a user