Edit -> Find/Replace in Files -> Pattern this drop-down list always have only one last value.
I included a fix in this pending revision: https://phabricator.kde.org/D6262 Until then, you may use the enter key to start the search. It will save the changed line before closing the dialog.