forked from qt-creator/qt-creator
Debugger: Disable "Select Widget to Add into Expression Evaluator"
Doesn't work anywhere right now. Change-Id: I094f0591a8f33a3d07065089ca4f70e4a2b6f145 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1625,9 +1625,10 @@ bool WatchModel::contextMenuEvent(const ItemViewEvent &ev)
|
||||
canRemoveWatches && !m_handler->watchedExpressions().isEmpty(),
|
||||
[this] { clearWatches(); });
|
||||
|
||||
addAction(menu, tr("Select Widget to Add into Expression Evaluator"),
|
||||
canHandleWatches && canInsertWatches && m_engine->hasCapability(WatchWidgetsCapability),
|
||||
[this, ev] { ev.view()->grabMouse(Qt::CrossCursor); m_grabbing = true; });
|
||||
// FIXME:
|
||||
// addAction(menu, tr("Select Widget to Add into Expression Evaluator"),
|
||||
// canHandleWatches && canInsertWatches && m_engine->hasCapability(WatchWidgetsCapability),
|
||||
// [this, ev] { ev.view()->grabMouse(Qt::CrossCursor); m_grabbing = true; });
|
||||
|
||||
menu->addSeparator();
|
||||
menu->addMenu(createFormatMenu(item));
|
||||
|
||||
Reference in New Issue
Block a user