CommonHostInterface: Fix debug console toggling not applying

This commit is contained in:
Connor McLaughlin 2021-07-28 20:44:05 +10:00
parent 161d90d0e1
commit b8bd545ee9

View file

@ -3228,7 +3228,8 @@ void CommonHostInterface::CheckForSettingsChanges(const Settings& old_settings)
if (g_settings.log_level != old_settings.log_level || g_settings.log_filter != old_settings.log_filter ||
g_settings.log_to_console != old_settings.log_to_console ||
g_settings.log_to_window != old_settings.log_to_window || g_settings.log_to_file != old_settings.log_to_file)
g_settings.log_to_debug != old_settings.log_to_debug || g_settings.log_to_window != old_settings.log_to_window ||
g_settings.log_to_file != old_settings.log_to_file)
{
UpdateLogSettings(g_settings.log_level, g_settings.log_filter.empty() ? nullptr : g_settings.log_filter.c_str(),
g_settings.log_to_console, g_settings.log_to_debug, g_settings.log_to_window,