-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Label ordering buttons #3416
Label ordering buttons #3416
Conversation
This comment has been minimized.
This comment has been minimized.
Right-clicking to edit labels is still leading to the same dialog with the selection invite., but selecting a label doesn't lead to anything and no editing is allowed. The Create button is working and allows appending a new label to the list. |
Thanks for testing and reporting that, I have a guess as to what weird thing Windows is doing to cause that (not setting |
b192398
to
891b5f6
Compare
Thanks again @d-faure, the new test build is: |
Now, that's ok |
Should we move instance groups above the "Global" group, so the more specifics overwrite less specifics? I think that's what you'd typically expect in similar situations. |
891b5f6
to
15ca258
Compare
15ca258
to
726bb54
Compare
Makes sense to me. Now the list model object sorts them that way on load (so the change will apply regardless of whether the user opens the editing form), and the editing UI maintains the ordering. |
3e8420a
to
f4e3c75
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.
Works very well now, nice feature!
Motivation
The labels from #2936 have an implicit ordering that matters if a mod is included in multiple labels, but the user can't control this ordering except by editing a JSON file. Worse, this ordering is hidden in the Edit Labels window, which sorts each group of labels alphabetically by name.
Changes
Now the Edit Labels window shows the labels in their actual ordering rather than alphabetical.
Now when you edit a label, up and down buttons appear to the right of the label tree:
Clicking the up button moves the label earlier in the list, and clicking the down button moves it later.
Fixes #3395.
Side fixes
GUI/Resources/arrow_forward.png
andGUI/Resources/arrow_upward.png
, which are now removed