diff --git a/src/ui/editors/editorWidget.py b/src/ui/editors/editorWidget.py index 81b814bb..999274f1 100644 --- a/src/ui/editors/editorWidget.py +++ b/src/ui/editors/editorWidget.py @@ -135,7 +135,9 @@ class editorWidget(QWidget, Ui_editorWidget_ui): self.txtEdits = [] - addTitle(item) + if item != self._model.rootItem: + addTitle(item) + addChildren(item) addSpacer() self.scroll.setWidget(w) diff --git a/test_project/outline.xml b/test_project/outline.xml index f47da017..8590255a 100644 --- a/test_project/outline.xml +++ b/test_project/outline.xml @@ -37,7 +37,7 @@ - + @@ -51,13 +51,13 @@ - - + + - + - + - +