mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 10:24:19 +01:00
Merge pull request #4863 from TheUbuntuGuy/master
Scroll to last played track when switching playlists
This commit is contained in:
commit
7f016f76fc
@ -272,6 +272,7 @@ void PlaylistView::SetPlaylist(Playlist* playlist) {
|
||||
DynamicModeChanged(playlist->is_dynamic());
|
||||
setFocus();
|
||||
read_only_settings_ = false;
|
||||
JumpToLastPlayedTrack();
|
||||
|
||||
connect(playlist_, SIGNAL(RestoreFinished()), SLOT(JumpToLastPlayedTrack()));
|
||||
connect(playlist_, SIGNAL(CurrentSongChanged(Song)), SLOT(MaybeAutoscroll()));
|
||||
|
Loading…
Reference in New Issue
Block a user