Boot from device window fix
The window wasn't closing properly.
This commit is contained in:
parent
82323ca5ed
commit
8640fa7ace
@ -70,6 +70,8 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog, QtGui.QDialog):
|
|||||||
|
|
||||||
qvm_start.main(['--cdrom', cdrom_location, self.vm.name])
|
qvm_start.main(['--cdrom', cdrom_location, self.vm.name])
|
||||||
|
|
||||||
|
self.done(0)
|
||||||
|
|
||||||
def __warn_if_running__(self):
|
def __warn_if_running__(self):
|
||||||
if self.vm.is_running():
|
if self.vm.is_running():
|
||||||
QtGui.QMessageBox.warning(
|
QtGui.QMessageBox.warning(
|
||||||
|
Loading…
Reference in New Issue
Block a user