Skip to content

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

Merged
daschuer merged 1 commit into
mixxxdj:mainfrom
ronso0:sort_focused_column
May 10, 2022
Merged

library: add '[Library],sort_focused_column' control pushbutton#4749
daschuer merged 1 commit into
mixxxdj:mainfrom
ronso0:sort_focused_column

Conversation

@ronso0
Copy link
Copy Markdown
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.

Comment thread src/library/librarycontrol.cpp Outdated
Copy link
Copy Markdown
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.

Comment thread src/library/librarycontrol.cpp
@ronso0 ronso0 force-pushed the sort_focused_column branch from 968a395 to d950a08 Compare May 10, 2022 14:53
@ronso0
Copy link
Copy Markdown
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>
@ronso0 ronso0 force-pushed the sort_focused_column branch from d950a08 to 6258953 Compare May 10, 2022 15:10
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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