diff --git a/src/other/sourceviewersearch.cpp b/src/other/sourceviewersearch.cpp index ab3523342..c1d83a236 100644 --- a/src/other/sourceviewersearch.cpp +++ b/src/other/sourceviewersearch.cpp @@ -42,6 +42,9 @@ SourceViewerSearch::SourceViewerSearch(SourceViewer* parent) QShortcut* findNextAction = new QShortcut(QKeySequence("F3"), this); connect(findNextAction, SIGNAL(activated()), this, SLOT(next())); + QShortcut* findPreviousAction = new QShortcut(QKeySequence("Shift+F3"), this); + connect(findPreviousAction, SIGNAL(activated()), this, SLOT(previous())); + startAnimation(); qApp->installEventFilter(this); } diff --git a/src/webview/searchtoolbar.cpp b/src/webview/searchtoolbar.cpp index 44331f845..13f974cc4 100644 --- a/src/webview/searchtoolbar.cpp +++ b/src/webview/searchtoolbar.cpp @@ -47,6 +47,9 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget* parent) QShortcut* findNextAction = new QShortcut(QKeySequence("F3"), this); connect(findNextAction, SIGNAL(activated()), this, SLOT(findNext())); + QShortcut* findPreviousAction = new QShortcut(QKeySequence("Shift+F3"), this); + connect(findPreviousAction, SIGNAL(activated()), this, SLOT(findPrevious())); + p_QupZilla->actionStop()->setEnabled(false); qApp->installEventFilter(this); }