mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-23 16:01:43 +01:00
PlayPlaylist: set current and not active playlist to selection
This commit is contained in:
parent
f17e29f41d
commit
7b3e2dfd8c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user