Fix bug when setting autoconnect for new connection.
This commit is contained in:
parent
1502ee23e4
commit
96a4df1b16
|
@ -94,6 +94,7 @@ class vmmConnect(gobject.GObject):
|
|||
hv = self.window.get_widget("hypervisor").get_active()
|
||||
conn = self.window.get_widget("connection").get_active()
|
||||
host = self.window.get_widget("hostname").get_text()
|
||||
auto = False
|
||||
if self.window.get_widget("autoconnect").get_property("sensitive"):
|
||||
auto = self.window.get_widget("autoconnect").get_active()
|
||||
uri = None
|
||||
|
|
Loading…
Reference in New Issue