GuiCharacter: INHERIT is OFF for the tristate buttons.

This commit is contained in:
Juergen Spitzmueller 2018-12-17 10:37:14 +01:00
parent a1a7c21871
commit 1b6ce0e827

View File

@ -376,12 +376,12 @@ FontState getStrike(FontInfo const & fi)
Qt::CheckState getMarkupState(lyx::FontState fs)
{
switch (fs) {
case FONT_INHERIT:
case FONT_OFF:
return Qt::Unchecked;
case FONT_ON:
return Qt::Checked;
case FONT_TOGGLE:
case FONT_INHERIT:
case FONT_IGNORE:
default:
return Qt::PartiallyChecked;