From 0ced9f5fc1a0874a41fb625570db6f7e578d692e Mon Sep 17 00:00:00 2001 From: unK Date: Wed, 17 Sep 2008 15:12:14 +0200 Subject: [PATCH] if playlist changed redraw header only if we are on playlist screen --- src/status_checker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_checker.cpp b/src/status_checker.cpp index 96edc2c9..0e5eeed0 100644 --- a/src/status_checker.cpp +++ b/src/status_checker.cpp @@ -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()) {