Fix verbose logging change needed full restart

This commit is contained in:
Flowseal
2026-11-18 00:23:20 +03:00
parent c053b40014
commit 9f71904e1a
4 changed files with 14 additions and 8 deletions
+3 -3
View File
@@ -9,8 +9,8 @@ from typing import Union
from proxy import coerce_domain_list, parse_dc_ip_list
from ui.i18n import t
UI_ONLY_KEYS = frozenset({
"appearance", "autostart", "check_updates", "language"
LIVE_SETTINGS_KEYS = frozenset({
"appearance", "autostart", "check_updates", "language", "verbose"
})
@@ -21,7 +21,7 @@ class SettingsChange:
@property
def requires_restart(self) -> bool:
return bool(self.changed_keys - UI_ONLY_KEYS)
return bool(self.changed_keys - LIVE_SETTINGS_KEYS)
def prepare_settings(current: dict, values: dict, defaults: dict) -> SettingsChange: