create: Hide arch expander if there aren't any connections

This commit is contained in:
Cole Robinson 2013-10-05 10:31:02 -04:00
parent ca5e849ec6
commit 8e460dce1d

View File

@ -219,6 +219,7 @@ class vmmCreate(vmmGObjectUI):
self.widget("create-forward").set_sensitive(False)
if hideinstall:
self.widget("install-box").hide()
self.widget("arch-expander").hide()
self.widget("startup-error").set_text("Error: %s" % error)
return False