mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Merge pull request #13818 from Amphitryon0/show-code-default
DolphinQt: Stop re-enabling Code widget when toggling debug mode
This commit is contained in:
@ -518,8 +518,6 @@ void Settings::SetDebugModeEnabled(bool enabled)
|
|||||||
{
|
{
|
||||||
Config::SetBaseOrCurrent(Config::MAIN_ENABLE_DEBUGGING, enabled);
|
Config::SetBaseOrCurrent(Config::MAIN_ENABLE_DEBUGGING, enabled);
|
||||||
emit DebugModeToggled(enabled);
|
emit DebugModeToggled(enabled);
|
||||||
if (enabled)
|
|
||||||
SetCodeVisible(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -599,7 +597,7 @@ void Settings::SetCodeVisible(bool enabled)
|
|||||||
|
|
||||||
bool Settings::IsCodeVisible() const
|
bool Settings::IsCodeVisible() const
|
||||||
{
|
{
|
||||||
return GetQSettings().value(QStringLiteral("debugger/showcode")).toBool();
|
return GetQSettings().value(QStringLiteral("debugger/showcode"), true).toBool();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Settings::SetMemoryVisible(bool enabled)
|
void Settings::SetMemoryVisible(bool enabled)
|
||||||
|
Reference in New Issue
Block a user