Fix opening settings/boot dialog after VM creation
This commit is contained in:
		
							parent
							
								
									7f572b5c81
								
							
						
					
					
						commit
						6045f451c6
					
				@ -182,10 +182,10 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if not self.thread.msg:
 | 
					        if not self.thread.msg:
 | 
				
			||||||
            if self.launch_settings.isChecked():
 | 
					            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():
 | 
					            if self.install_system.isChecked():
 | 
				
			||||||
                subprocess.check_call(
 | 
					                subprocess.check_call(
 | 
				
			||||||
                    ['qubes-vm-boot-from-device', str(self.name)])
 | 
					                    ['qubes-vm-boot-from-device', str(self.name.text())])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def type_change(self):
 | 
					    def type_change(self):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user