]> git.lyx.org Git - features.git/commitdiff
Have OK/Apply buttons initially disabled.
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 5 May 2018 09:33:45 +0000 (11:33 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 5 May 2018 09:33:45 +0000 (11:33 +0200)
src/frontends/qt4/GuiCharacter.cpp

index 295b59e95eb54f164e8776c5520b167facbe0615..349fea2c508ef47bc39fe7d1175d37c8e5ae42cc 100644 (file)
@@ -526,6 +526,8 @@ void GuiCharacter::paramsToDialog(Font const & font)
        QString const lang = (font.language() == reset_language)
                ? "reset" : toqstr(font.language()->lang());
        langCO->setCurrentIndex(findPos2nd(language, lang));
+       // disable the OK/Apply buttons, since we have no changes yet
+       bc().setValid(false);
 }