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,6 +211,7 @@ void NcmpcppStatusChanged(MPDConnection *Mpd, MPDStatusChanges changed, void *da
FreeSongList(list); FreeSongList(list);
} }
if (current_screen == csPlaylist)
redraw_header = 1; redraw_header = 1;
if (mPlaylist->Empty()) if (mPlaylist->Empty())