summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeWidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
index 92e068fada..60f74e52ad 100644
--- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp
@@ -291,8 +291,10 @@ void CodeWidget::SetAddress(u32 address, CodeViewWidget::SetAddressUpdate update
{
m_code_view->SetAddress(address, update);
- if (update == CodeViewWidget::SetAddressUpdate::WithUpdate)
+ if (update == CodeViewWidget::SetAddressUpdate::WithUpdate ||
+ update == CodeViewWidget::SetAddressUpdate::WithDetailedUpdate)
{
+ Settings::Instance().SetCodeVisible(true);
raise();
m_code_view->setFocus();
}