if playlist changed redraw header only if we are on playlist screen

This commit is contained in:
unK
2008-09-17 15:12:14 +02:00
parent 82f4ee14ce
commit 0ced9f5fc1

View File

@@ -211,7 +211,8 @@ void NcmpcppStatusChanged(MPDConnection *Mpd, MPDStatusChanges changed, void *da
FreeSongList(list);
}
redraw_header = 1;
if (current_screen == csPlaylist)
redraw_header = 1;
if (mPlaylist->Empty())
{