Do not report false find with empty string in instant search

This commit is contained in:
Juergen Spitzmueller 2021-02-18 12:59:52 +01:00
parent bf94242943
commit b6945764a4

View File

@ -285,7 +285,7 @@ bool findOne(BufferView * bv, docstring const & searchstr,
bv->setCursor(bv->cursor().selectionBegin());
bv->clearSelection();
}
return false;
return true;
}
if (!searchAllowed(searchstr))