Bugfix
This commit is contained in:
parent
d9c6a2764a
commit
5a48b68795
@ -132,7 +132,7 @@ class TreeWidget(QtGui.QTreeWidget):
|
|||||||
|
|
||||||
def listAllItems(self, item=None):
|
def listAllItems(self, item=None):
|
||||||
items = []
|
items = []
|
||||||
if item != None:
|
if item is not None:
|
||||||
items.append(item)
|
items.append(item)
|
||||||
else:
|
else:
|
||||||
item = self.invisibleRootItem()
|
item = self.invisibleRootItem()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user