commit 01ca60187718ef97552488adbd976d7436f98228
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sat May 5 12:35:07 2018 +0200

    Fix BC issue with autoapply
---
 src/frontends/qt4/GuiCharacter.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt4/GuiCharacter.cpp 
b/src/frontends/qt4/GuiCharacter.cpp
index 349fea2..5dd6dde 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);
 }
 
 

Reply via email to