diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-12-28 19:12:30 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-12-28 20:30:38 +0100 |
| commit | 3e3f9565ec784f99d8f143bb21f2f5206d41ab14 (patch) | |
| tree | b0af5e68f7340de3d62b3715bed367ecc7462354 /Source/Core/DolphinQt/Debugger/CodeWidget.cpp | |
| parent | 0a8e04e469b30b2331096788db76be7fd6487bbe (diff) | |
Qt/Debugger: Add Show in Code / Show in Memory
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeWidget.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp index 4f782e0152..ab08d49ba5 100644 --- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp @@ -164,6 +164,7 @@ void CodeWidget::ConnectWidgets() connect(m_code_view, &CodeViewWidget::RequestPPCComparison, this, &CodeWidget::RequestPPCComparison); + connect(m_code_view, &CodeViewWidget::ShowMemory, this, &CodeWidget::ShowMemory); } void CodeWidget::OnSearchAddress() @@ -250,6 +251,12 @@ void CodeWidget::OnSelectFunctionCallers() void CodeWidget::SetAddress(u32 address, CodeViewWidget::SetAddressUpdate update) { m_code_view->SetAddress(address, update); + + if (update == CodeViewWidget::SetAddressUpdate::WithUpdate) + { + raise(); + m_code_view->setFocus(); + } } void CodeWidget::Update() |
