summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 599295f7..13660eb9 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -863,6 +863,12 @@ void MainWindow::updateHighlight()
}
}
+void MainWindow::findSelectedText()
+{
+ // FindBar::setVisible() gets the selected text by itself
+ m_findBar->show();
+}
+
void MainWindow::viewFullScreen(bool makeFullScreen)
{