clear search results if empty string is passed to FindForward/Backward
This commit is contained in:
@@ -161,6 +161,11 @@ bool Playlist::allowsSearching()
|
||||
|
||||
bool Playlist::search(const std::string &constraint)
|
||||
{
|
||||
if (constraint.empty())
|
||||
{
|
||||
w.clearSearchResults();
|
||||
return false;
|
||||
}
|
||||
try
|
||||
{
|
||||
auto rx = RegexFilter<MPD::Song>(
|
||||
|
||||
Reference in New Issue
Block a user