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

library: add '[Library],sort_focused_column' control pushbutton #4749

Merged
merged 1 commit into from
May 10, 2022

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented May 10, 2022

https://bugs.launchpad.net/mixxx/+bug/1969634

There is need for a simple "sort column with cursor on it" button.
Unfortunately [Library],sort_column_toggle can not be used directly in xml mappings (or equivalent) but requires scripting.

[Library],sort_focused_column is just a wrapper to call slotSortColumnToggle(0) on button press.

Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. That was quick.
I have left two comments.

src/library/librarycontrol.cpp Show resolved Hide resolved
@ronso0
Copy link
Member Author

ronso0 commented May 10, 2022

Thank you. That was quick.

Yeah, I wanted to use that myself for some time but never took the time to look into it. The bug report was the trigger to finally do it and kill two birds with one stone (I like birds, though).

This is ready.

Co-authored-by: Daniel Schürmann <daschuer@mixxx.org>
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@daschuer daschuer merged commit eae9367 into mixxxdj:main May 10, 2022
@daschuer
Copy link
Member

Can you also add this new control to the manual?

@daschuer daschuer added the changelog This PR should be included in the changelog label May 10, 2022
@ronso0
Copy link
Member Author

ronso0 commented May 10, 2022

Can you also add this new control to the manual?

sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog This PR should be included in the changelog library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants