Fix showing Preferences dialog in Windows
This commit is contained in:
parent
237e44d73f
commit
8d863f2e3c
|
@ -435,7 +435,7 @@ class Preferences(component.Component):
|
|||
self.glade.get_widget("chk_ntf_tray_blink").set_active(
|
||||
self.gtkui_config["ntf_tray_blink"])
|
||||
if deluge.common.windows_check():
|
||||
self.gtkui_config["ntf_popup"].set_sensitive(False)
|
||||
self.glade.get_widget("chk_ntf_popup").set_sensitive(False)
|
||||
else:
|
||||
self.glade.get_widget("chk_ntf_popup").set_active(
|
||||
self.gtkui_config["ntf_popup"])
|
||||
|
|
Loading…
Reference in New Issue