diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2010-01-26 03:48:01 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2010-01-26 03:48:01 +0100 |
commit | 9e5700cfd0f7e67fed6b5b70150f6fe5c6d9af4f (patch) | |
tree | d68741a1f7113e815e6d62e155e5e2b716d69989 | |
parent | 7fc9af69c4a4c76670e6a0ec39864a585015aa8d (diff) |
fix redrawing bottom line with alternate UI and mpd stopped
-rw-r--r-- | src/status.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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(); } } |