From 0a0c78674f8ca6ffce08feabd7c292133fd2d86e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jun 2010 21:40:33 +0200 Subject: playlist: emit IDLE_OPTIONS when resetting single mode --- src/playlist_control.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/playlist_control.c') diff --git a/src/playlist_control.c b/src/playlist_control.c index 4359611fd..4c156f0f5 100644 --- a/src/playlist_control.c +++ b/src/playlist_control.c @@ -24,6 +24,7 @@ #include "playlist_internal.h" #include "player_control.h" +#include "idle.h" #include @@ -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); -- cgit v1.2.3