diff --git a/PyFlow/UI/Views/NodeBox.py b/PyFlow/UI/Views/NodeBox.py index aacba29d..bd963877 100644 --- a/PyFlow/UI/Views/NodeBox.py +++ b/PyFlow/UI/Views/NodeBox.py @@ -544,7 +544,7 @@ def expandCategory(self): item = self.treeWidget.topLevelItem(i) if item.text(0) in self.treeWidget.categoryPaths: index = self.treeWidget.indexFromItem(item) - self.treeWidget.setExpanded(index, True) + self.treeWidget.expandRecursively(index) def leTextChanged(self): if self.lineEdit.text() == "":