┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-05-02 14:17:56 +0200
committerMéven Car <[email protected]>2026-05-02 14:20:15 +0200
commitf31adb1c65681083b2d539a8cb977bee304c8f04 (patch)
treeca2aaeaa402eeb550601de39e8554e7a4968c69b
parent4139e59154bde18667dc27155afb922cda4c28c4 (diff)
search/popup: hide the popup when launching kfind
Otherwise the focus can be passed.
-rw-r--r--src/search/popup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/search/popup.cpp b/src/search/popup.cpp
index 94ec378bf..66dc4f7e4 100644
--- a/src/search/popup.cpp
+++ b/src/search/popup.cpp
@@ -341,6 +341,10 @@ void Popup::slotKFindButtonClicked()
if (kFind) {
auto *job = new KIO::ApplicationLauncherJob(kFind);
job->setUrls({m_searchConfiguration->searchPath()});
+
+ // must hide the parent pop, so the focus switches correctly
+ hide();
+
job->start();
return;
}