make blocking search constraints change after successful searching optional

it's still enabled by default though.
This commit is contained in:
Andrzej Rybczak
2009-03-03 21:13:02 +01:00
parent 339bbb4925
commit 73f7980019
5 changed files with 17 additions and 6 deletions

View File

@@ -1206,7 +1206,7 @@ int main(int argc, char *argv[])
Config.stop_after_current_song = !Config.stop_after_current_song;
ShowMessage("Stop playing after current song: %s", Config.stop_after_current_song ? "on" : "off");
}
else if (myScreen == mySearcher)
else if (myScreen == mySearcher && !mySearcher->Main()->isStatic(0))
{
mySearcher->Main()->Highlight(SearchEngine::SearchButton);
mySearcher->Main()->Highlighting(0);