make NCurses::Menu::Clear() clear used filter

This commit is contained in:
Andrzej Rybczak
2009-09-08 14:06:38 +02:00
parent 3108fbf0c0
commit 55f064a59b
2 changed files with 2 additions and 4 deletions

View File

@@ -70,10 +70,7 @@ void StatusbarApplyFilterImmediately(const std::wstring &ws)
{
static std::wstring cmp;
if (cmp != ws)
{
myScreen->ApplyFilter(ToString(ws));
cmp = ws;
}
myScreen->ApplyFilter(ToString((cmp = ws)));
myScreen->RefreshWindow();
TraceMpdStatus();
}