Make sure actions in Launcher are sorted so they don't keep changing order randomly

This commit is contained in:
Fabià Serra Arrizabalaga 2024-05-21 22:22:33 +02:00
parent 0e4e845407
commit caf3682e87

View file

@ -332,7 +332,7 @@ class ActionsModel:
selection = self._prepare_selection(project_name, folder_id, task_id)
output = []
action_items = self._get_action_items(project_name)
for identifier, action in self._get_action_objects().items():
for identifier, action in sorted(self._get_action_objects().items()):
if not action.is_compatible(selection):
continue