Commit 91848f47 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Debugger: Make watchers editable in coredump

Task-number: QTCREATORBUG-15001
Change-Id: Icba8175e2f3ca0ed07815fb063dec660c722231d
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent f8fa24d9
......@@ -934,7 +934,7 @@ Qt::ItemFlags WatchItem::flags(int column) const
const Qt::ItemFlags editable = notEditable | Qt::ItemIsEditable;
if (state == InferiorUnrunnable)
return notEditable;
return (isWatcher() && column == 0 && iname.count('.') == 1) ? editable : notEditable;
if (isWatcher()) {
if (state != InferiorStopOk
......
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