[#2559] Treat Bool as Bool

This commit is contained in:
David Sangrey committed 2025-12-11 23:06:18 -05:00
1 parent e6143bc21b
commit b8950880e4
1 file changed
+1 -1
+1 -1
View File
@@ -713,7 +713,7 @@ class PreferencesDialog(tk.Toplevel):
# Appearance theme and language setting
# LANG: The system default language choice in Settings > Appearance
self.lang = tk.StringVar(value=self.languages.get(config.get_str('language'), tr.tl('Default')))
self.always_ontop = tk.BooleanVar(value=bool(config.get_int('always_ontop')))
self.always_ontop = tk.BooleanVar(value=bool(config.get_bool('always_ontop')))
self.minimize_system_tray = tk.BooleanVar(value=config.get_bool('minimize_system_tray'))
self.disable_system_tray = tk.BooleanVar(value=config.get_bool('no_systray'))
self.theme = tk.IntVar(value=config.get_int('theme'))