Make attributes in LabelEditor sorted

This commit is contained in:
Tobias Gehrig
2014-02-25 15:47:57 +01:00
parent 5df2ff66e0
commit 015b6f3afb
+2
View File
@@ -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: