Skip to content
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

Sub-folder sorting #490

Merged
merged 1 commit into from
Feb 4, 2019
Merged

Conversation

baconpaul
Copy link
Collaborator

Patches were sorted correctly as were categories, but in order to
enable sub-folders I construct an explicit child list in
categories. I do that before the patch sort and traverse it
at menu build time. That category list requires a sort to
display correctly.

Fixes #481

@jsakkine a review would be lovely. @esaruoho if you want to test with your patches that would be great. I tested with a pretty deep hierarchy.

Patches were sorted correctly as were categories, but in order to
enable sub-folders I construct an explicit child list in
categories. I do that before the patch sort and traverse it
at menu build time. That category list requires a sort to
display correctly.

Fixes surge-synthesizer#481
@esaruoho
Copy link
Collaborator

esaruoho commented Feb 3, 2019

on it

src/common/SurgeStorage.cpp Show resolved Hide resolved
@baconpaul
Copy link
Collaborator Author

Thanks for the review @jsakkine. What is it they say about imitation and flattery. I’ll merge this

@baconpaul baconpaul merged commit e0163d0 into surge-synthesizer:master Feb 4, 2019
@baconpaul baconpaul deleted the subsort-481 branch February 15, 2019 14:45
baconpaul added a commit to baconpaul/surge that referenced this pull request Jul 10, 2019
Sub-folder sorting. Closes surge-synthesizer#481

Former-commit-id: 8d77a6890170cb190848259d2872e36c0bc64fad [formerly e0163d0]
Former-commit-id: 5f7c765c6f66d109fc4f690da1443a08efc80d40
Former-commit-id: f7ee2f2a385b87957f747601ba7c066830108c28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants