-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Lib sidebar: right click selection fixes #11574
Lib sidebar: right click selection fixes #11574
Conversation
Note this is just a workaround for an inconsistency created by slotJoinWithPrevious. That slot uses m_pPlaylistTableModel to load a playlist while there is a different sidebar item selected.
ed6a4b9
to
a58f192
Compare
Woo, done. I did a lot of testing and now the sidebar selection is kept if possible, and the sidebar selection and track view are always in sync. Furthermore I added a "Mark tracks played" sidebar action to fix #8948 (for this and 'Join with previous' I added a new method to track.cpp). |
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.
One extra ")" else LGTM.
And works!
@@ -66,6 +64,12 @@ SetlogFeature::SetlogFeature( | |||
this, | |||
&SetlogFeature::slotJoinWithPrevious); | |||
|
|||
m_pMarkTracksPlayedAction = new QAction(tr("Mark all tracks played)"), this); |
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.
m_pMarkTracksPlayedAction = new QAction(tr("Mark all tracks played)"), this); | |
m_pMarkTracksPlayedAction = new QAction(tr("Mark all tracks played"), this); |
follow-up for #11208 with small UX fixes