Just can't stay away
Joined: 2006/12/1 18:01 Last Login
: Yesterday 23:02
From Copenhagen, Denmark
Group:
Registered Users
|
Maybe you could simplify/generalize by always, when a song selection is being made (whether it's part of a multi-select or not), check whether you are displaying the info for whichever song is the last one selected in the list, and if not, call your search function for it.
If only one song is selected, it will still be the last one selected, so you shouldn't need to distinguish (from a purely algorithmic point of view).
Best regards,
Niels
|