From 91848f47559db244c9981e97967369e60425e7e6 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 3 Sep 2015 09:06:47 +0300 Subject: [PATCH] Debugger: Make watchers editable in coredump Task-number: QTCREATORBUG-15001 Change-Id: Icba8175e2f3ca0ed07815fb063dec660c722231d Reviewed-by: hjk --- src/plugins/debugger/watchhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index a5c6a414d66..a53a8eda149 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -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