Merge pull request #128 from husixu1/staged

Fix crash when search in webengine
This commit is contained in:
xiaoyifang 2022-08-18 10:17:12 +08:00 committed by GitHub
commit c65a7f41b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2374,7 +2374,7 @@ void ArticleView::performFindOperation( bool restart, bool backwards, bool check
findText( text,
f,
[ &text, this ]( bool match )
[ text, this ]( bool match )
{
bool setMark = !text.isEmpty() && !match;