-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WTrackMenu: sort crates and playlists like in sidebar #11023
WTrackMenu: sort crates and playlists like in sidebar #11023
Conversation
I can confirm this will fix the sort issue with crates and playlists, tested on Ubuntu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works good just some C++ improvements suggested.
7343187
to
c16d651
Compare
I squashed your proposals, should be fine now. Edit nope, error with the id in lambda and for (const auto& [id, name] : playlists) |
c16d651
to
ab0c8b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and still works. Thank you.
In the sidebar crates and playlists are sorted lexicographically.
This PR uses the same order for the crates and playlists submenus.