Have OK/Apply buttons initially disabled.

This commit is contained in:
Juergen Spitzmueller 2018-05-05 11:33:45 +02:00
parent 164e8d1dc8
commit fe18bea3d0

View 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);
}