summaryrefslogtreecommitdiffstats
path: root/src/core/find_text_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/find_text_helper.cpp')
-rw-r--r--src/core/find_text_helper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/find_text_helper.cpp b/src/core/find_text_helper.cpp
index 065fed38f..da9d7f352 100644
--- a/src/core/find_text_helper.cpp
+++ b/src/core/find_text_helper.cpp
@@ -108,6 +108,7 @@ void FindTextHelper::startFinding(const QString &findText, bool caseSensitively,
// waiting for it forever.
// Assume that any unfinished find has been unsuccessful when a new one is started
// to cover that case.
+ m_lastCompletedFindRequestId = m_currentFindRequestId;
m_viewClient->findTextFinished(QWebEngineFindTextResult());
invokeResultCallback(m_currentFindRequestId, 0);
}