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

1
NEWS
View File

@ -4,6 +4,7 @@ ver 0.15.11 (2010/??/??)
* decoders: * decoders:
- mp4ff: support tags "albumartist", "band" - mp4ff: support tags "albumartist", "band"
- mikmod: fix memory leak - mikmod: fix memory leak
* playlist: emit IDLE_OPTIONS when resetting single mode
ver 0.15.10 (2010/05/30) ver 0.15.10 (2010/05/30)

View File

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