Commit 6bac7e23 authored by Tranter Madi's avatar Tranter Madi 🌧
Browse files

Allow resuming when clicking on Playlist's play button

parent ab712cd2
Pipeline #62117 passed with stage
in 8 minutes and 39 seconds
......@@ -242,6 +242,8 @@ BasePlayListDelegate {
icon.name: (isPlaying === MediaPlayList.IsPlaying) ? "media-playback-pause" : "media-playback-start"
onClicked: if (isPlaying === MediaPlayList.IsPlaying) {
playListEntry.pausePlayback()
} else if (isPlaying === MediaPlayList.IsPaused) {
playListEntry.startPlayback()
} else {
playListEntry.switchToTrack(playListEntry.index)
playListEntry.startPlayback()
......
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