Commit 0a0c7867 authored by Max Kellermann's avatar Max Kellermann

playlist: emit IDLE_OPTIONS when resetting single mode

parent 1bffdabe
...@@ -4,6 +4,7 @@ ver 0.15.11 (2010/??/??) ...@@ -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)
......
...@@ -24,6 +24,7 @@ ...@@ -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) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment