From 2d0f550e1096512f9d9b2aee686e64fbad3c0e7f Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 3 Nov 2020 17:55:43 -0800 Subject: [PATCH] Fixed a bug where the play queue view would not always correctly scroll to the playing track on startup after restoring the session. --- src/musikcore/support/Playback.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/musikcore/support/Playback.cpp b/src/musikcore/support/Playback.cpp index 07ac643bf..fe18c4feb 100644 --- a/src/musikcore/support/Playback.cpp +++ b/src/musikcore/support/Playback.cpp @@ -107,6 +107,8 @@ namespace musik { if (index >= 0) { double time = prefs->GetDouble(keys::LastPlayQueueTime, 0.0f); playback.Prepare(index, time); + playback.QueueEdited(); /* hack to get the play queue view to scroll + to the track we just prepared. */ } }); }