Commit cb4153a4 authored by sb's avatar sb

allow disabling zeroconf if avahi was removed after enabling it

parent 2a0bce4e
......@@ -1802,7 +1802,7 @@ class AccountsWindow:
st = gajim.config.get('enable_zeroconf')
w = self.xml.get_widget('enable_zeroconf_checkbutton')
if == 'nt' or avahi_error:
if == 'nt' or (avahi_error and not w.get_active()):
w.connect('toggled', self.on_enable_zeroconf_checkbutton_toggled)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment