summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/Settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Settings.cpp b/Source/Core/DolphinQt2/Settings.cpp
index baa86879e8..6b51777b7c 100644
--- a/Source/Core/DolphinQt2/Settings.cpp
+++ b/Source/Core/DolphinQt2/Settings.cpp
@@ -226,6 +226,8 @@ void Settings::SetDebugModeEnabled(bool enabled)
SConfig::GetInstance().bEnableDebugging = enabled;
emit DebugModeToggled(enabled);
}
+ if (enabled)
+ SetCodeVisible(true);
}
bool Settings::IsDebugModeEnabled() const