diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc index d66ab839..08faee3f 100644 --- a/src/ui/articleview.cc +++ b/src/ui/articleview.cc @@ -2106,7 +2106,7 @@ void ArticleView::highlightFTSResults() QString script = QString( "var context = document.querySelector(\"body\");\n" "var instance = new Mark(context);\n instance.unmark();\n" - "instance.mark(\"%1\");" ) + "instance.mark(\"%1\",{\"accuracy\": \"exactly\"});" ) .arg( regString ); webview->page()->runJavaScript( script ); diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index e240d00c..c056a443 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -2751,7 +2751,6 @@ void MainWindow::toggleMainWindow( bool onlyShow ) if ( !cfg.preferences.searchInDock ) translateBox->setPopupEnabled( false ); - qDebug() << "Current state:" << isVisible() << isMinimized() << isActiveWindow() << onlyShow; if ( !isVisible() ) { show();