summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a6f1428f..a02910fd 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -807,6 +807,7 @@ void MainWindow::findNext()
bool found = currentTab()->view()->findText(m_lastSearch, options);
m_findBar->notifyMatch(found);
+
if(!found)
{
QPoint previous_position = currentTab()->view()->page()->currentFrame()->scrollPosition();