fix to checking whether vm has kernel attributes
This commit is contained in:
parent
4d620b0904
commit
a5a6e90e41
@ -432,6 +432,9 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
|
||||
return;
|
||||
|
||||
#kernel changed
|
||||
if not self.kernel_groupbox.isVisible():
|
||||
return
|
||||
|
||||
if self.kernel.currentIndex() != self.kernel_idx:
|
||||
new_kernel = self.kernel.currentText()
|
||||
new_kernel = new_kernel.split(' ')[0]
|
||||
@ -448,6 +451,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
|
||||
self.vm.kernel = kernel
|
||||
self.anything_changed = True
|
||||
|
||||
|
||||
######## devices tab
|
||||
def __init_devices_tab__(self):
|
||||
self.dev_list = MultiSelectWidget(self)
|
||||
|
Loading…
Reference in New Issue
Block a user