mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Disable wizard sensitivity while VM creation is taking place (bz 211624)
This commit is contained in:
parent
bb151cc519
commit
a07e5a307b
@ -371,9 +371,11 @@ class vmmCreate(gobject.GObject):
|
|||||||
|
|
||||||
#let's go
|
#let's go
|
||||||
self.install_error = None
|
self.install_error = None
|
||||||
|
self.topwin.set_sensitive(False)
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user