diff --git a/src/screen_queue.c b/src/screen_queue.c
index 1ee8c001dab4b43db898d40ffc43bb82bc2cfd2b..c8fad68d2c7e52e2cf126a7aae6312ac094d7b51 100644 (file)
--- a/src/screen_queue.c
+++ b/src/screen_queue.c
{
if (c->events & MPD_IDLE_QUEUE)
screen_queue_restore_selection();
+ else
+ /* the queue size may have changed, even if we havn't
+ revceived the QUEUE idle event yet */
+ list_window_set_length(lw, playlist_length(playlist));
if (((c->events & MPD_IDLE_PLAYER) != 0 &&
screen_queue_song_change(c->status)) ||