This commit is contained in:
Daniel Lidstrom 2020-12-17 18:17:06 -08:00
parent d9c6a2764a
commit 5a48b68795

View File

@ -132,7 +132,7 @@ class TreeWidget(QtGui.QTreeWidget):
def listAllItems(self, item=None):
items = []
if item != None:
if item is not None:
items.append(item)
else:
item = self.invisibleRootItem()