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

Order triggers using localizedStandardCompare #2598

Merged
merged 2 commits into from Feb 9, 2022
Merged

Conversation

pjrobertson
Copy link
Member

@pjrobertson pjrobertson commented Feb 4, 2022

Very simple. Sort the 'Trigger' (key shortcut) column using localizedStandardCompare so you get the sorting as per #2561

Set it up in the Triggers pref pane xib as follows:
Screenshot 2022-02-04 at 09 31 48

I had to remove this line and bind the sort descriptors to NSUserDefaults in the xib as well - manually binding causes issues with the NSUserdefaults value of just compare: over-writing the localizedStandardCompare: value.
Screenshot 2022-02-04 at 09 33 58

@skurfer skurfer merged commit 482b322 into master Feb 9, 2022
@skurfer skurfer deleted the trigger-order branch February 9, 2022 02:35
skurfer added a commit that referenced this pull request Feb 9, 2022
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.

None yet

2 participants