Commits

Yuya Nishihara committed b4a6261

repotreemodel: fix initial construction of AllRepoGroupItem

1c327f338b17 added name parameter without updating the caller.

Because 'parent' of item object is not related to Qt's object tree, it should
be omitted.

Comments (0)

Files changed (1)

tortoisehg/hgqt/repotreemodel.py

             root = RepoTreeItem(self)
         # due to issue #1075, 'all' may be missing even if 'root' exists
         if not all:
-            all = AllRepoGroupItem(self)
+            all = AllRepoGroupItem()
             root.appendChild(all)
 
         self.rootItem = root