Don't make the create wizard sensitive again until after the error dialog has gone
This commit is contained in:
parent
04053f2aef
commit
68923fcd1f
|
@ -385,15 +385,16 @@ class vmmCreate(gobject.GObject):
|
||||||
progWin = vmmAsyncJob(self.config, self.do_install, [guest],
|
progWin = vmmAsyncJob(self.config, self.do_install, [guest],
|
||||||
title=_("Creating Virtual Machine"))
|
title=_("Creating Virtual Machine"))
|
||||||
progWin.run()
|
progWin.run()
|
||||||
self.topwin.set_sensitive(True)
|
|
||||||
if self.install_error != None:
|
if self.install_error != None:
|
||||||
logging.error("Async job failed to create VM " + str(self.install_error))
|
logging.error("Async job failed to create VM " + str(self.install_error))
|
||||||
self._validation_error_box(_("Guest Install Error"), self.install_error)
|
self._validation_error_box(_("Guest Install Error"), self.install_error)
|
||||||
|
self.topwin.set_sensitive(True)
|
||||||
# Don't close becase we allow user to go back in wizard & correct
|
# Don't close becase we allow user to go back in wizard & correct
|
||||||
# their mistakes
|
# their mistakes
|
||||||
#self.close()
|
#self.close()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.topwin.set_sensitive(True)
|
||||||
# Ensure new VM is loaded
|
# Ensure new VM is loaded
|
||||||
self.connection.tick(noStatsUpdate=True)
|
self.connection.tick(noStatsUpdate=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue