summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-12-29 15:08:51 +0100
committerGitHub <noreply@github.com>2018-12-29 15:08:51 +0100
commit75b8824c95176118b0d04b813e744f2b306ea026 (patch)
tree41a78010cecbcc5c68998e186e4f23b70f794310 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
parent187058a07277560061eb63e54d8a5562cd56f939 (diff)
parent3e3f9565ec784f99d8f143bb21f2f5206d41ab14 (diff)
Merge pull request #7658 from spycrab/debugger_show
Qt/Debugger: Add Show in Code / Show in Memory
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
index bab9daa522..d9041aaceb 100644
--- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
@@ -367,6 +367,10 @@ void MemoryViewWidget::OnContextMenu()
menu->addSeparator();
+ menu->addAction(tr("Show in code"), this, [this] { emit ShowCode(GetContextAddress()); });
+
+ menu->addSeparator();
+
menu->addAction(tr("Toggle Breakpoint"), this, &MemoryViewWidget::ToggleBreakpoint);
menu->exec(QCursor::pos());