Commit e40c2adf authored by Yann Leboulanger's avatar Yann Leboulanger

enable / disable ping_alives_enable too when (un)checking send keep alives in...

enable / disable ping_alives_enable too when (un)checking send keep alives in account modification window. Fixes #5100
parent 271a38ea
......@@ -2041,6 +2041,8 @@ class AccountsWindow:
return
self.on_checkbutton_toggled(widget, 'keep_alives_enabled',
account=self.current_account)
gajim.config.set_per('accounts', self.current_account,
'ping_alives_enabled', widget.get_active())
def on_custom_host_port_checkbutton1_toggled(self, widget):
if self.option_changed('use_custom_host', widget.get_active()):
......
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