From: Juergen Spitzmueller Date: Mon, 17 Dec 2018 09:37:14 +0000 (+0100) Subject: GuiCharacter: INHERIT is OFF for the tristate buttons. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8a4ef8c5dc325dccb072bd30aff8e318df23fc5c;p=features.git GuiCharacter: INHERIT is OFF for the tristate buttons. --- diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index aaacb0c5a5..79398b89f7 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -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;