From: Juergen Spitzmueller Date: Sat, 5 May 2018 09:33:45 +0000 (+0200) Subject: Have OK/Apply buttons initially disabled. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3480 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fe18bea3d07be1987a8c6c561b4c714e0c4fad2a;p=features.git Have OK/Apply buttons initially disabled. --- diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 295b59e95e..349fea2c50 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -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); }