From 5b62a256de3e2f7f9a7ee8f5fb8f528866d24e38 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Thu, 1 Jun 2023 16:52:04 +0200 Subject: [PATCH] Sections: Minor change. --- src/View/Sections/Table.py | 2 +- src/View/ui/Sections.ui | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) 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 + + + + + + +