From: Juergen Spitzmueller Date: Mon, 17 Dec 2018 09:37:14 +0000 (+0100) Subject: GuiCharacter: INHERIT is OFF for the tristate buttons. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2868 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1b6ce0e827d58258e84ba2bf0754c6b273b123db;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;