Fixed issue#3113 - boot from cdrom
Fixes missing cast to string in boot from cdrom tool. fixes QubesOS/qubes-issues#3113
This commit is contained in:
parent
8e01b1488c
commit
75ddc62bed
@ -49,14 +49,13 @@ class VMBootFromDeviceWindow(Ui_BootDialog, QDialog):
|
||||
if self.blockDeviceRadioButton.isChecked():
|
||||
cdrom_location = self.blockDeviceComboBox.currentText()
|
||||
elif self.fileRadioButton.isChecked():
|
||||
cdrom_location = self.vm_list[self.fileVM.currentIndex()] + ":" + self.pathText.text()
|
||||
cdrom_location = str(self.vm_list[self.fileVM.currentIndex()]) + ":" + self.pathText.text()
|
||||
else:
|
||||
QMessageBox.warning(None,
|
||||
self.tr(
|
||||
"ERROR!"),
|
||||
self.tr("No file or block device selected; please select one."))
|
||||
return
|
||||
|
||||
qvm_start.main(['--cdrom', cdrom_location, self.vm.name])
|
||||
|
||||
def __init_buttons__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user