aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-06-01 09:59:46 +0200
committerMax Kellermann <max@duempel.org>2010-06-01 09:59:46 +0200
commit067d7212bf8ee5a8f3f6b93c6d86ab86d0106fcd (patch)
tree6209bd22f7c62e49836bce7b81ad9e1a6c8e9ec1 /src
parent867b93a5b2d9c99f35981e3f4622cb2fc06eff99 (diff)
downloadmpd-067d7212bf8ee5a8f3f6b93c6d86ab86d0106fcd.tar.gz
mpd-067d7212bf8ee5a8f3f6b93c6d86ab86d0106fcd.tar.xz
mpd-067d7212bf8ee5a8f3f6b93c6d86ab86d0106fcd.zip
playlist: emit IDLE_OPTIONS when resetting single mode
Diffstat (limited to 'src')
-rw-r--r--src/playlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 75fd23bf2..40990bff5 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -110,6 +110,8 @@ playlist_sync_with_queue(struct playlist *playlist)
/* Set pause and remove the single mode. */
if(playlist->queue.single && !playlist->queue.repeat) {
playlist->queue.single = false;
+ idle_add(IDLE_OPTIONS);
+
pc_set_pause(true);
}