Close dialog after finish qvm_start()
If not user has few seconds of unresponsive manager
This commit is contained in:
parent
012256d446
commit
f050c9d78c
@ -233,9 +233,6 @@ class NewVmDlg(QtWidgets.QDialog, Ui_NewVMDlg):
|
|||||||
self.progress.show()
|
self.progress.show()
|
||||||
|
|
||||||
def create_finished(self):
|
def create_finished(self):
|
||||||
self.progress.hide()
|
|
||||||
self.done(0)
|
|
||||||
|
|
||||||
if self.thread.msg:
|
if self.thread.msg:
|
||||||
QtWidgets.QMessageBox.warning(
|
QtWidgets.QMessageBox.warning(
|
||||||
self,
|
self,
|
||||||
@ -251,6 +248,8 @@ class NewVmDlg(QtWidgets.QDialog, Ui_NewVMDlg):
|
|||||||
['--cdrom', self.boot_dialog.cdrom_location,
|
['--cdrom', self.boot_dialog.cdrom_location,
|
||||||
self.name.text()])
|
self.name.text()])
|
||||||
|
|
||||||
|
self.progress.hide()
|
||||||
|
self.done(0)
|
||||||
|
|
||||||
def type_change(self):
|
def type_change(self):
|
||||||
template = self.template_vm.currentData()
|
template = self.template_vm.currentData()
|
||||||
|
Loading…
Reference in New Issue
Block a user