Steps to reproduce: 1. Press Ctrl+Alt+F (opens a find/replace dialog) 2. Click on the KDevelop's main window (e.g. on the window title) 3. Press Ctrl+Alt+F Actual results: 4. Two find/replace dialogs are opened. Expected results: 4. The first find/replace dialog focused.