Merge remote-tracking branch 'origin/pr/267'
* origin/pr/267: Fixed incorrect virtmode check (ignored PVH when it was the default)
This commit is contained in:
commit
0ba5ea648f
@ -1229,7 +1229,9 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtWidgets.QDialog):
|
|||||||
self.update_virt_mode_list()
|
self.update_virt_mode_list()
|
||||||
|
|
||||||
def update_pvh_dont_support_devs(self):
|
def update_pvh_dont_support_devs(self):
|
||||||
if self.virt_mode.currentData() == 'pvh':
|
# this is the easiest way to check for both normal 'PVH' and
|
||||||
|
# default (PVH) options
|
||||||
|
if 'PVH' in self.virt_mode.currentText().upper():
|
||||||
self.dev_list.setEnabled(False)
|
self.dev_list.setEnabled(False)
|
||||||
self.pvh_dont_support_devs.setVisible(True)
|
self.pvh_dont_support_devs.setVisible(True)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user