fix 'crop' function when mpd was stopped
This commit is contained in:
@@ -3114,7 +3114,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
// if mpd deletes now playing song deletion will be sluggishly slow
|
// if mpd deletes now playing song deletion will be sluggishly slow
|
||||||
// then so we have to assure it will be deleted at the very end.
|
// then so we have to assure it will be deleted at the very end.
|
||||||
if (!mPlaylist->isSelected(now_playing))
|
if (now_playing >= 0 && !mPlaylist->isSelected(now_playing))
|
||||||
Mpd->QueueDeleteSongId(mPlaylist->at(now_playing).GetID());
|
Mpd->QueueDeleteSongId(mPlaylist->at(now_playing).GetID());
|
||||||
|
|
||||||
ShowMessage("Deleting all items but selected...");
|
ShowMessage("Deleting all items but selected...");
|
||||||
|
|||||||
Reference in New Issue
Block a user