Skip to content
Snippets Groups Projects
Commit 91c60398 authored by inso's avatar inso
Browse files

Fix connection position in tree

parent 78d7406c
Branches
Tags
No related merge requests found
...@@ -168,5 +168,5 @@ class GenericTreeModel(QAbstractItemModel): ...@@ -168,5 +168,5 @@ class GenericTreeModel(QAbstractItemModel):
def insert_node(self, raw_data): def insert_node(self, raw_data):
self.beginInsertRows(QModelIndex(), self.rowCount(QModelIndex()), 0) self.beginInsertRows(QModelIndex(), self.rowCount(QModelIndex()), 0)
parse_node(raw_data, self.root_item) parse_node(raw_data, self.root_item.children[0])
self.endInsertRows() self.endInsertRows()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment