]> git.lyx.org Git - features.git/commitdiff
Fix BC issue with autoapply
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 5 May 2018 10:35:07 +0000 (12:35 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 5 May 2018 10:35:07 +0000 (12:35 +0200)
src/frontends/qt4/GuiCharacter.cpp

index 349fea2c508ef47bc39fe7d1175d37c8e5ae42cc..5dd6dde3f6c5c0a4f8b3a9be895d9f910e0079a3 100644 (file)
@@ -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);
 }