diff --git a/sloth/gui/propertyeditor.py b/sloth/gui/propertyeditor.py index 482c781..6a34a93 100644 --- a/sloth/gui/propertyeditor.py +++ b/sloth/gui/propertyeditor.py @@ -251,6 +251,8 @@ class LabelEditor(QScrollArea): for lc in self._label_classes: attributes |= set(self._editor.getLabelClassAttributes(lc)) + attributes = list(attributes) + attributes.sort() for attr in attributes: handler = self._editor.getHandler(attr) if handler is not None: