From f7c9d2fd4d352badd46d0b1459ea934fba295dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 24 Mar 2018 17:50:47 +0100 Subject: [PATCH] Qt: Show code pane by default in debug mode Otherwise, it's confusing because the option seems to do nothing especially if the user is used to the DolphinWX debugger. --- Source/Core/DolphinQt2/Settings.cpp | 2 ++ 1 file changed, 2 insertions(+) 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