summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-12-28 19:12:30 +0100
committerspycrab <spycrab@users.noreply.github.com>2018-12-28 20:30:38 +0100
commit3e3f9565ec784f99d8f143bb21f2f5206d41ab14 (patch)
treeb0af5e68f7340de3d62b3715bed367ecc7462354 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
parent0a8e04e469b30b2331096788db76be7fd6487bbe (diff)
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 30f262dbcf..09f1facac4 100644
--- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
@@ -359,6 +359,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());