GuiThesaurus: maintain default state of Replace button

Rest of #11417
This commit is contained in:
Juergen Spitzmueller 2018-12-21 12:56:02 +01:00
parent ac8aac5b36
commit 4ea64ca89a

View File

@ -87,7 +87,7 @@ GuiThesaurus::GuiThesaurus(GuiView & lv)
entryCO->completer()->setCompletionMode(QCompleter::PopupCompletion);
bc().setCancel(buttonBox->button(QDialogButtonBox::Close));
bc().setApply(replacePB);
bc().setApply(replacePB, true);
bc().addReadOnly(replaceED);
bc().addReadOnly(replacePB);
bc().setPolicy(ButtonPolicy::OkApplyCancelReadOnlyPolicy);