ayon-core
ayon-core copied to clipboard
Launcher keep last selected task active when browsing to an asset without tasks and back
Issue
In the OpenPype launcher if you browser in the Launcher from an asset with the Lighting task selected and continued going through assets it would select no task if the new asset you selected did not have Lighting task - but as soon as you selected on that had - then it'd automatically select the Lighting task again.
In the AYON launcher however, as soon as you click a folder that does not have a Lighting task then it'll have no task selected - and clicking back to a folder thas a Lighting task does not automatically select it.
Preferred implementation
Keep the last selected task name active and when folder selection changed and it has the last selected task name, auto select it.