Commit e5c6fe1b authored by Max Kellermann's avatar Max Kellermann

player/control: unpause in Play()

parent bf65a973
......@@ -56,6 +56,11 @@ PlayerControl::Play(DetachedSong *song)
const ScopeLock protect(mutex);
SeekLocked(song, SongTime::zero(), IgnoreError());
if (state == PlayerState::PAUSE)
/* if the player was paused previously, we need to
unpause it */
PauseLocked();
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment