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