Skip to content

Commit

Permalink
Merge pull request #4382 from ronso0/lib-browse-search
Browse files Browse the repository at this point in the history
Browse/Recording: disable the search box
  • Loading branch information
uklotzde authored Oct 12, 2021
2 parents c523a3a + 7dc656e commit 3fe4880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/library/browse/browsefeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ void BrowseFeature::activateChild(const QModelIndex& index) {
m_browseModel.setPath(dir);
}
emit showTrackModel(&m_proxyModel);
emit disableSearch();
emit enableCoverArtDisplay(false);
}

Expand Down
3 changes: 1 addition & 2 deletions src/library/recording/recordingfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void RecordingFeature::bindLibraryWidget(WLibrary* pLibraryWidget,
void RecordingFeature::activate() {
emit refreshBrowseModel();
emit switchToView(kViewName);
// Ask the view to emit a restoreSearch signal.
emit requestRestoreSearch();
emit disableSearch();
emit enableCoverArtDisplay(false);
}

0 comments on commit 3fe4880

Please sign in to comment.