Skip to content

Commit

Permalink
WTrackMenu: move 'Select in Library' up, below 'Searchrelated..'
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed May 15, 2022
1 parent 54deccf commit 89f761d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/widget/wtrackmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,14 @@ void WTrackMenu::createActions() {
void WTrackMenu::setupActions() {
if (featureIsEnabled(Feature::SearchRelated)) {
addMenu(m_pSearchRelatedMenu);
}

if (featureIsEnabled(Feature::SelectInLibrary)) {
addAction(m_pSelectInLibraryAct);
}

if (featureIsEnabled(Feature::SearchRelated) ||
featureIsEnabled(Feature::SelectInLibrary)) {
addSeparator();
}

Expand Down Expand Up @@ -567,10 +575,6 @@ void WTrackMenu::setupActions() {
addAction(m_pFileBrowserAct);
}

if (featureIsEnabled(Feature::SelectInLibrary)) {
addAction(m_pSelectInLibraryAct);
}

if (featureIsEnabled(Feature::Properties)) {
addSeparator();
addAction(m_pPropertiesAct);
Expand Down

0 comments on commit 89f761d

Please sign in to comment.