From: Juergen Spitzmueller Date: Mon, 14 Dec 2020 13:19:08 +0000 (+0100) Subject: Amend 24b71d30d56752 (#12048) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2d553ec5b9485c58dd28d19a12db4f9e38d56054;p=features.git Amend 24b71d30d56752 (#12048) --- diff --git a/src/frontends/qt/GuiSearch.cpp b/src/frontends/qt/GuiSearch.cpp index c70e328562..3bd1be0fe7 100644 --- a/src/frontends/qt/GuiSearch.cpp +++ b/src/frontends/qt/GuiSearch.cpp @@ -86,8 +86,8 @@ void GuiSearch::showEvent(QShowEvent * e) void GuiSearch::findChanged() { + findPB->setEnabled(!findCO->currentText().isEmpty()); bool const replace = !findCO->currentText().isEmpty() && !isBufferReadonly(); - findPB->setEnabled(replace); replacePB->setEnabled(replace); replaceallPB->setEnabled(replace); replaceLA->setEnabled(replace);