Setting default actions in tk-multi-loader2

Is there any way to set the default action executed by the loader then a user double-clicks an item?

I tried reordering the items in the tk-multi-loader2.yml and in the execute_actions method of the relevant software loader class, but neither seemed to have any effect.

Thanks

1 Like

It’s a good question.

I just tried here, and it did work if I reordered the action_instances list being returned in the generate_actions method. The fist action that applies to that PublishedFileType in the list, will be the default.

1 Like