From 75c4c791fdb1f117b0e6f7ffd61b40bc039250f2 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 23 Oct 2009 02:37:57 +0200 Subject: [PATCH] clear and refresh statusbar immediately after unlock if mpd is stopped --- src/status.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/status.cpp b/src/status.cpp index 23296683..3f073a00 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -111,7 +111,10 @@ void UnlockStatusbar() block_progressbar_update = 0; } if (!Mpd.isPlaying()) + { Statusbar() << wclrtoeol; + wFooter->Refresh(); + } } void TraceMpdStatus()