[Playlist Queue] Hopefully prevent a crash state
This removal was causing crashes for some people. It should not get this way, however. Signed-off-by: Christopher Snowhill <kode54@gmail.com>main
parent
b60a5462b7
commit
e0c1e338e4
|
@ -1635,7 +1635,7 @@ static void *playlistControllerContext = &playlistControllerContext;
|
||||||
|
|
||||||
for(PlaylistEntry *queueItem in [self selectedObjects]) {
|
for(PlaylistEntry *queueItem in [self selectedObjects]) {
|
||||||
if(queueItem.queued) {
|
if(queueItem.queued) {
|
||||||
[queueList removeObjectAtIndex:queueItem.queuePosition];
|
[queueList removeObject:queueItem];
|
||||||
|
|
||||||
queueItem.queued = NO;
|
queueItem.queued = NO;
|
||||||
queueItem.queuePosition = -1;
|
queueItem.queuePosition = -1;
|
||||||
|
|
Loading…
Reference in New Issue