1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-27 17:02:30 +01:00

Fix bug where shared essid settings couldn't be disabled once they were turned on.

This commit is contained in:
Dan O'Reilly
2009-05-01 20:26:46 -04:00
parent adec1fdc18
commit 8dcc028c39

View File

@@ -1201,8 +1201,8 @@ class WirelessDaemon(dbus.service.Object):
# We want to write the essid in addition to bssid
# sections if global settings are enabled.
self.config.remove_section(essid_key)
if cur_network["use_settings_globally"]:
self.config.remove_section(essid_key)
self.config.add_section(essid_key)
for x in cur_network: