diff --git a/src/View/Sections/Table.py b/src/View/Sections/Table.py index 52a497ef..438db996 100644 --- a/src/View/Sections/Table.py +++ b/src/View/Sections/Table.py @@ -47,7 +47,7 @@ class ComboBoxDelegate(QItemDelegate): ) ) ) - else: # "edge" + elif self._mode == "edge": self.editor.addItems( [_translate("Sections", "Not associate")] + self._data.edges_names() diff --git a/src/View/ui/Sections.ui b/src/View/ui/Sections.ui index f714f375..cd6ea6ce 100644 --- a/src/View/ui/Sections.ui +++ b/src/View/ui/Sections.ui @@ -19,13 +19,21 @@ - + Qt::Horizontal - - + + + Qt::Vertical + + + + + + +