[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>xcode15
parent
660cb1bab1
commit
daa0c3fc61
|
@ -1635,7 +1635,7 @@ static void *playlistControllerContext = &playlistControllerContext;
|
|||
|
||||
for(PlaylistEntry *queueItem in [self selectedObjects]) {
|
||||
if(queueItem.queued) {
|
||||
[queueList removeObjectAtIndex:queueItem.queuePosition];
|
||||
[queueList removeObject:queueItem];
|
||||
|
||||
queueItem.queued = NO;
|
||||
queueItem.queuePosition = -1;
|
||||
|
|
Loading…
Reference in New Issue