Update IntentSelectionModel.py

This commit is contained in:
HellAholic 2025-05-27 17:02:25 +02:00 committed by GitHub
parent c726d61086
commit c3e760e07c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ class IntentSelectionModel(ListModel):
"custom_icon": icon,
"icon": None,
"intent_category": category,
"weight": 5,
"weight": len(_default_intent_categories),
})
result.sort(key=lambda k: k["weight"])