Skip to content

Commit

Permalink
Added workaround for dom0 sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
donob4n committed Jun 7, 2020
1 parent db2781a commit 24e5d58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubesmanager/qube_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ def data(self, index, role):

# Used for sorting
if role == Qt.UserRole + 1:
if vm.qid == 0:
return ""
if col_name == "Type":
return vm.klass
if col_name == "Label":
Expand Down

0 comments on commit 24e5d58

Please sign in to comment.