forked from qt-creator/qt-creator
Debugger: Make "Memory Editor Showing Stack Layout" easier accessible
The restriction to a local active item is not needed, as the whole submenu will be deactivated when the debugger is not debugging. Change-Id: I36f5098d549dcb72f474caad8cfd13a6aa961212 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1795,9 +1795,8 @@ QMenu *WatchModel::createMemoryMenu(WatchItem *item, QWidget *parent)
|
|||||||
createPointerActions,
|
createPointerActions,
|
||||||
[this, item, pos] { addVariableMemoryView(false, item, true, pos); });
|
[this, item, pos] { addVariableMemoryView(false, item, true, pos); });
|
||||||
|
|
||||||
|
|
||||||
addAction(menu, tr("Open Memory Editor Showing Stack Layout"),
|
addAction(menu, tr("Open Memory Editor Showing Stack Layout"),
|
||||||
item && item->isLocal(),
|
true,
|
||||||
[this, pos] { addStackLayoutMemoryView(false, pos); });
|
[this, pos] { addStackLayoutMemoryView(false, pos); });
|
||||||
|
|
||||||
addAction(menu, tr("Open Memory Editor..."),
|
addAction(menu, tr("Open Memory Editor..."),
|
||||||
|
|||||||
Reference in New Issue
Block a user