diff options
Diffstat (limited to 'Tools/idle/TreeWidget.py')
-rw-r--r-- | Tools/idle/TreeWidget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/TreeWidget.py b/Tools/idle/TreeWidget.py index be80a63..37bc58f 100644 --- a/Tools/idle/TreeWidget.py +++ b/Tools/idle/TreeWidget.py @@ -187,7 +187,7 @@ class TreeNode: # _IsExpandable() was mistaken; that's allowed return y+17 for item in sublist: - child = TreeNode(self.canvas, self, item) + child = self.__class__(self.canvas, self, item) self.children.append(child) cx = x+20 cy = y+17 |