mirror of
https://github.com/wassname/sloth.git
synced 2026-09-12 12:50:28 +08:00
Make attributes in LabelEditor sorted
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user