From 8a4ef8c5dc325dccb072bd30aff8e318df23fc5c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 17 Dec 2018 10:37:14 +0100 Subject: [PATCH] GuiCharacter: INHERIT is OFF for the tristate buttons. --- src/frontends/qt4/GuiCharacter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5