Skip to content

Commit 4730c17

Browse files
committed
SMs in create state info + cmsg dialog now sorted
1 parent 4712f72 commit 4730c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hkb_editor/gui/workflows/create_stateinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def on_okay():
160160
"Statemachine",
161161
on_value_change,
162162
default=values["statemachine"],
163-
choices=[sm["name"].get_value() for sm in statemachines],
163+
choices=sorted([sm["name"].get_value() for sm in statemachines]),
164164
tag=f"{tag}_statemachine",
165165
user_data="statemachine",
166166
)

0 commit comments

Comments
 (0)