Qt: Fix a few places per-game settings were not checked

This commit is contained in:
Stenzek
2024-07-15 16:31:40 +10:00
parent 5381ad9cd1
commit 00cc3b65fc
4 changed files with 13 additions and 15 deletions

View File

@ -31,8 +31,8 @@ LogWindow::~LogWindow() = default;
void LogWindow::updateSettings()
{
const bool new_enabled = Host::GetBaseBoolSettingValue("Logging", "LogToWindow", false);
const bool attach_to_main = Host::GetBaseBoolSettingValue("Logging", "AttachLogWindowToMainWindow", true);
const bool new_enabled = Host::GetBoolSettingValue("Logging", "LogToWindow", false);
const bool attach_to_main = Host::GetBoolSettingValue("Logging", "AttachLogWindowToMainWindow", true);
const bool curr_enabled = (g_log_window != nullptr);
if (new_enabled == curr_enabled)
{