summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2010-01-26 03:48:01 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2010-01-26 03:48:01 +0100
commit9e5700cfd0f7e67fed6b5b70150f6fe5c6d9af4f (patch)
treed68741a1f7113e815e6d62e155e5e2b716d69989
parent7fc9af69c4a4c76670e6a0ec39864a585015aa8d (diff)
fix redrawing bottom line with alternate UI and mpd stopped
-rw-r--r--src/status.cpp5
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();
}
}