mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend 24b71d30d5
(#12048)
This commit is contained in:
parent
9121153fa0
commit
2d553ec5b9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user