Fix minor performance bug

This commit is contained in:
donoban 2018-07-12 01:26:34 +02:00
parent 1d80837cd0
commit 5ddd029d34
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -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