Fix opening settings/boot dialog after VM creation

This commit is contained in:
donoban 2018-10-25 09:45:12 +02:00
parent 7f572b5c81
commit 6045f451c6
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -182,10 +182,10 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
if not self.thread.msg:
if self.launch_settings.isChecked():
subprocess.check_call(['qubes-vm-settings', str(self.name)])
subprocess.check_call(['qubes-vm-settings', str(self.name.text())])
if self.install_system.isChecked():
subprocess.check_call(
['qubes-vm-boot-from-device', str(self.name)])
['qubes-vm-boot-from-device', str(self.name.text())])
def type_change(self):