summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ed347bef..c459fc42 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -596,7 +596,7 @@ void MainWindow::slotFindPrevious()
{
if (!currentTab() && m_lastSearch.isEmpty())
return;
- if (!currentTab()->findText(m_lastSearch, QWebPage::FindBackward))
+ if (!currentTab()->findText(m_lastSearch, QWebPage::FindBackward | QWebPage::FindWrapsAroundDocument))
{
slotUpdateStatusbar(QString(m_lastSearch) + i18n(" not found."));
}