diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-03-24 17:50:47 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2018-03-24 17:53:46 +0100 |
| commit | f7c9d2fd4d352badd46d0b1459ea934fba295dff (patch) | |
| tree | 86b3f7acc221e14bede6b55448c5b3ea8e47630e /Source/Core/DolphinQt2/Settings.cpp | |
| parent | 304aeaa9225d3b23ed8f43e1c2456bb74a611b66 (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinQt2/Settings.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Settings.cpp | 2 |
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 |
