Debugger: Fix triggering 'Add New Expression Evaluator...'

Change-Id: I961e4afb17b14210474fa69138c4671aaaca5b7d
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2016-09-21 12:48:52 +02:00
parent a9221a53d8
commit 62b2c85806

View File

@@ -1587,8 +1587,7 @@ bool WatchModel::contextMenuEvent(const ItemViewEvent &ev)
addAction(menu, tr("Add New Expression Evaluator..."),
canHandleWatches && canInsertWatches,
[this] {
});
[this] { inputNewExpression(); });
addAction(menu, addWatchActionText(exp),
// Suppress for top-level watchers.