commit 2d553ec5b9485c58dd28d19a12db4f9e38d56054
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Dec 14 14:19:08 2020 +0100

    Amend 24b71d30d56752 (#12048)
---
 src/frontends/qt/GuiSearch.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiSearch.cpp b/src/frontends/qt/GuiSearch.cpp
index c70e328..3bd1be0 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);
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to