Merge pull request #6539 from lat9nq/default-setting

general: Move most settings' defaults and labels into their definition
This commit is contained in:
Ameer J
2021-07-08 14:46:31 -04:00
committed by GitHub
39 changed files with 947 additions and 797 deletions

View File

@ -15,10 +15,10 @@
namespace Debugger {
void ToggleConsole() {
static bool console_shown = false;
if (console_shown == UISettings::values.show_console) {
if (console_shown == UISettings::values.show_console.GetValue()) {
return;
} else {
console_shown = UISettings::values.show_console;
console_shown = UISettings::values.show_console.GetValue();
}
#if defined(_WIN32) && !defined(_DEBUG)