From 9e5700cfd0f7e67fed6b5b70150f6fe5c6d9af4f Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 26 Jan 2010 03:48:01 +0100 Subject: [PATCH] fix redrawing bottom line with alternate UI and mpd stopped --- src/status.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status.cpp b/src/status.cpp index 10bb38a2..16cfb2c1 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -122,7 +122,10 @@ void UnlockStatusbar() } if (!Mpd.isPlaying()) { - Statusbar() << wclrtoeol; + if (Config.new_design) + DrawProgressbar(Mpd.GetElapsedTime(), Mpd.GetTotalTime()); + else + Statusbar() << wclrtoeol; wFooter->Refresh(); } }