mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
Fixed a bug that would sometimes cause the tray icon to not display the right connection state on startup.
This commit is contained in:
@@ -1136,8 +1136,7 @@ class ConnectionWizard(dbus.service.Object):
|
||||
self.SetUseGlobalDNS(False)
|
||||
self.SetGlobalDNS(False, False, False)
|
||||
if config.has_option("Settings", "auto_reconnect"):
|
||||
self.auto_reconnect = config.get("Settings",
|
||||
"auto_reconnect")
|
||||
self.auto_reconnect = config.get("Settings", "auto_reconnect")
|
||||
else:
|
||||
config.set("Settings", "auto_reconnect", "0")
|
||||
self.auto_reconnect = False
|
||||
|
||||
Reference in New Issue
Block a user