Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/267'
Browse files Browse the repository at this point in the history
* origin/pr/267:
  Fixed incorrect virtmode check (ignored PVH when it was the default)
  • Loading branch information
marmarek committed Oct 10, 2020
2 parents 691c0ec + 90a33f7 commit 0ba5ea6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qubesmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,9 @@ def devices_selection_changed(self):
self.update_virt_mode_list()

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.pvh_dont_support_devs.setVisible(True)
else:
Expand Down

0 comments on commit 0ba5ea6

Please sign in to comment.