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.
This commit is contained in:
Léo Lam 2018-03-24 17:50:47 +01:00
parent 304aeaa922
commit f7c9d2fd4d

View File

@ -226,6 +226,8 @@ void Settings::SetDebugModeEnabled(bool enabled)
SConfig::GetInstance().bEnableDebugging = enabled;
emit DebugModeToggled(enabled);
}
if (enabled)
SetCodeVisible(true);
}
bool Settings::IsDebugModeEnabled() const