From 5ddd029d344db057304cd4b59e4b9b0c1a11c7cf Mon Sep 17 00:00:00 2001 From: donoban Date: Thu, 12 Jul 2018 01:26:34 +0200 Subject: [PATCH] Fix minor performance bug --- qubesmanager/table_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/table_widgets.py b/qubesmanager/table_widgets.py index dd22d2d..ab0ec44 100644 --- a/qubesmanager/table_widgets.py +++ b/qubesmanager/table_widgets.py @@ -523,7 +523,7 @@ class VmIncludeInBackupsItem(QtGui.QTableWidgetItem): self.include_in_backups = False def __lt__(self, other): - if self.vm.qid == 0: + if self.qid == 0: return True elif other.qid == 0: return False