From 2d553ec5b9485c58dd28d19a12db4f9e38d56054 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 14 Dec 2020 14:19:08 +0100 Subject: [PATCH] Amend 24b71d30d56752 (#12048) --- src/frontends/qt/GuiSearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);