Fix bug when setting autoconnect for new connection.

This commit is contained in:
Cole Robinson 2008-06-23 16:27:22 -04:00
parent 1502ee23e4
commit 96a4df1b16
1 changed files with 1 additions and 0 deletions

View File

@ -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