From: Juergen Spitzmueller Date: Sat, 5 May 2018 10:35:07 +0000 (+0200) Subject: Fix BC issue with autoapply X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3477 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=01ca60187718ef97552488adbd976d7436f98228;p=features.git Fix BC issue with autoapply --- diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 349fea2c50..5dd6dde3f6 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -527,7 +527,8 @@ void GuiCharacter::paramsToDialog(Font const & font) ? "reset" : toqstr(font.language()->lang()); langCO->setCurrentIndex(findPos2nd(language, lang)); // disable the OK/Apply buttons, since we have no changes yet - bc().setValid(false); + if (!autoapplyCB->isChecked()) + bc().setValid(false); }