Skip to content

Commit

Permalink
Fixes strict reset list bug in VM Device Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarta committed Oct 9, 2020
1 parent b813998 commit 691c0ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesmanager/device_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def fill_device_list(self):
self.device_list.addItem(text)
self.ident_list[text] = ident
if ident in self.no_strict_reset_list:
self.device_list.setItemSelected(
self.device_list.item(i), True)
self.device_list.item(self.device_list.count()-1).setSelected(
True)

def reject(self):
self.done(0)
Expand Down

0 comments on commit 691c0ec

Please sign in to comment.