summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e90a5903..b5df7acb 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -786,6 +786,8 @@ void MainWindow::findNext()
if (!currentTab())
return;
+ highlightAll();
+
if(m_findBar->isHidden())
{
QPoint previous_position = currentTab()->view()->page()->currentFrame()->scrollPosition();
@@ -794,8 +796,6 @@ void MainWindow::findNext()
return;
}
- highlightAll();
-
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
if (m_findBar->matchCase())
options |= QWebPage::FindCaseSensitively;