diff options
| author | Méven Car <[email protected]> | 2026-05-02 14:17:56 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-05-02 14:20:15 +0200 |
| commit | f31adb1c65681083b2d539a8cb977bee304c8f04 (patch) | |
| tree | ca2aaeaa402eeb550601de39e8554e7a4968c69b /src/search/popup.cpp | |
| parent | 4139e59154bde18667dc27155afb922cda4c28c4 (diff) | |
search/popup: hide the popup when launching kfind
Otherwise the focus can be passed.
Diffstat (limited to 'src/search/popup.cpp')
| -rw-r--r-- | src/search/popup.cpp | 4 |
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; } |
