mirror of
https://github.com/gryf/wicd.git
synced 2026-02-19 16:35:46 +01:00
Fix bug where shared essid settings couldn't be disabled once they were turned on.
This commit is contained in:
@@ -1201,8 +1201,8 @@ class WirelessDaemon(dbus.service.Object):
|
|||||||
|
|
||||||
# We want to write the essid in addition to bssid
|
# We want to write the essid in addition to bssid
|
||||||
# sections if global settings are enabled.
|
# sections if global settings are enabled.
|
||||||
|
self.config.remove_section(essid_key)
|
||||||
if cur_network["use_settings_globally"]:
|
if cur_network["use_settings_globally"]:
|
||||||
self.config.remove_section(essid_key)
|
|
||||||
self.config.add_section(essid_key)
|
self.config.add_section(essid_key)
|
||||||
|
|
||||||
for x in cur_network:
|
for x in cur_network:
|
||||||
|
|||||||
Reference in New Issue
Block a user