Playlist: Don't automatically sort playlist before it's fully loaded

Fixes #1690
This commit is contained in:
Jonas Kvinge
2025-12-18 20:14:36 +01:00
parent c684a95f89
commit d68f464269

View File

@@ -1205,7 +1205,7 @@ void Playlist::InsertItemsWithoutUndo(const PlaylistItemPtrList &items, const in
queue_->InsertFirst(indexes);
}
if (auto_sort_) {
if (auto_sort_ && !is_loading_) {
sort(static_cast<int>(sort_column_), sort_order_);
}