mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Do not report false find with empty string in instant search
This commit is contained in:
parent
bf94242943
commit
b6945764a4
@ -285,7 +285,7 @@ bool findOne(BufferView * bv, docstring const & searchstr,
|
|||||||
bv->setCursor(bv->cursor().selectionBegin());
|
bv->setCursor(bv->cursor().selectionBegin());
|
||||||
bv->clearSelection();
|
bv->clearSelection();
|
||||||
}
|
}
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!searchAllowed(searchstr))
|
if (!searchAllowed(searchstr))
|
||||||
|
Loading…
Reference in New Issue
Block a user