X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwindows%2FBrowserWindow.cpp;h=a0a7a97346211e0a52f59b026b1fceb307834f6b;hb=95aa7dff6f4da3aa85775d46600f9be2e2f856eb;hp=3958c88cbacf3bea314cbf118479b9a19a2523b5;hpb=93a1583163ca580a2218ba81836a17c3a6586ccf;p=PrivacyBrowserPC.git diff --git a/src/windows/BrowserWindow.cpp b/src/windows/BrowserWindow.cpp index 3958c88..a0a7a97 100644 --- a/src/windows/BrowserWindow.cpp +++ b/src/windows/BrowserWindow.cpp @@ -434,7 +434,7 @@ void BrowserWindow::escape() const // Exit full screen browsing. fullScreenActionPointer->trigger(); } - else if (!findTextLineEditPointer->text().isEmpty()) // Find text is activated. + else if (!findTextLineEditPointer->text().isEmpty()) // Find text is populated. { // Clear the text in the line edit. findTextLineEditPointer->clear(); @@ -442,6 +442,11 @@ void BrowserWindow::escape() const // Clear the search in the WebEngine. tabWidgetPointer->findText(QStringLiteral("")); } + else if (findTextLineEditActionPointer->isVisible()) // Find text actions are visible. + { + // Hide the find text actions. + hideFindTextActions(); + } } void BrowserWindow::fileNew() const