PlayPlaylist: set current and not active playlist to selection

This commit is contained in:
NicolasToussaint 2020-11-29 15:40:28 +01:00 committed by John Maguire
parent f17e29f41d
commit 7b3e2dfd8c
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ void Player::PlayPlaylistInternal(Engine::TrackChangeFlags change,
}
app_->playlist_manager()->SetActivePlaylist(playlist->id());
app_->playlist_manager()->SetActiveToCurrent();
app_->playlist_manager()->SetCurrentPlaylist(playlist->id());
if (playlist->rowCount() == 0) return;
int i = app_->playlist_manager()->active()->current_row();