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()
|
||||
|
||||
def create_finished(self):
|
||||
self.progress.hide()
|
||||
self.done(0)
|
||||
|
||||
if self.thread.msg:
|
||||
QtWidgets.QMessageBox.warning(
|
||||
self,
|
||||
@ -251,6 +248,8 @@ class NewVmDlg(QtWidgets.QDialog, Ui_NewVMDlg):
|
||||
['--cdrom', self.boot_dialog.cdrom_location,
|
||||
self.name.text()])
|
||||
|
||||
self.progress.hide()
|
||||
self.done(0)
|
||||
|
||||
def type_change(self):
|
||||
template = self.template_vm.currentData()
|
||||
|
Loading…
Reference in New Issue
Block a user