mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-02 20:36:44 +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()->SetActivePlaylist(playlist->id());
|
||||||
app_->playlist_manager()->SetActiveToCurrent();
|
app_->playlist_manager()->SetCurrentPlaylist(playlist->id());
|
||||||
if (playlist->rowCount() == 0) return;
|
if (playlist->rowCount() == 0) return;
|
||||||
|
|
||||||
int i = app_->playlist_manager()->active()->current_row();
|
int i = app_->playlist_manager()->active()->current_row();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user