Merge remote-tracking branch 'qubesos/pr/67'

* qubesos/pr/67:
  Boot from device window fix
This commit is contained in:
Marek Marczykowski-Górecki 2018-02-13 05:06:06 +01:00
commit b3699d27d5
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -70,6 +70,8 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog, QtGui.QDialog):
qvm_start.main(['--cdrom', cdrom_location, self.vm.name])
self.done(0)
def __warn_if_running__(self):
if self.vm.is_running():
QtGui.QMessageBox.warning(