aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2018-06-18 13:16:16 +0200
committerhjk <[email protected]>2018-06-25 09:33:35 +0000
commitb0e31ddf43b153ff9eae918cfaa77daff46ccac1 (patch)
tree2b0dc1dd737d3073c8f27b108201c5659ece54e1 /src/plugins/debugger/watchhandler.cpp
parent1bbe92df49e2f17b0bb5a2a10bba53bff8923b58 (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 686f0d6f02b..2464c79faec 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -1795,9 +1795,8 @@ QMenu *WatchModel::createMemoryMenu(WatchItem *item, QWidget *parent)
createPointerActions,
[this, item, pos] { addVariableMemoryView(false, item, true, pos); });
-
addAction(menu, tr("Open Memory Editor Showing Stack Layout"),
- item && item->isLocal(),
+ true,
[this, pos] { addStackLayoutMemoryView(false, pos); });
addAction(menu, tr("Open Memory Editor..."),