1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00

Fix crash on album end

This commit is contained in:
Daniel Barber 2019-04-18 17:00:12 -04:00
parent 3c9a18a9fe
commit 89b26c4b8a
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -38,9 +38,10 @@ class QueueDataSource: NSObject, NSOutlineViewDataSource {
}
if newSongRowPos >= 0 {
queue[newSongRowPos].isPlaying = true
currentSong = queue[newSongRowPos].song
} else {
currentSong = nil
}
currentSong = queue[newSongRowPos].song
}
func setQueueIcon(_ state: MPDClient.MPDStatus.State) {