Fix bug where track sort overlay was suppressing save playlist

functionality.
This commit is contained in:
casey langen 2022-12-23 13:01:14 -08:00
parent 612c433e54
commit 6ec6138097

View File

@ -416,7 +416,10 @@ bool BrowseLayout::KeyPress(const std::string& key) {
this->Layout();
return true;
}
else if (Hotkeys::Is(Hotkeys::TrackListChangeSortOrder, key)) {
else if (
this->categoryList->GetFieldName() != musik::core::sdk::category::Playlist &&
Hotkeys::Is(Hotkeys::TrackListChangeSortOrder, key))
{
this->ShowTrackSortOverlay();
return true;
}