diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index 26a2a02..20723f8 100644 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -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)