playlist: emit IDLE_OPTIONS when resetting single mode

This commit is contained in:
Max Kellermann
2010-06-30 21:40:33 +02:00
parent 1bffdabe41
commit 0a0c78674f
2 changed files with 4 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
#include "playlist_internal.h"
#include "player_control.h"
#include "idle.h"
#include <glib.h>
@@ -156,6 +157,8 @@ nextSongInPlaylist(struct playlist *playlist)
if (next_order < 0) {
/* cancel single */
playlist->queue.single = false;
idle_add(IDLE_OPTIONS);
/* no song after this one: stop playback */
stopPlaylist(playlist);