]> git.lyx.org Git - features.git/commitdiff
GuiCharacter: INHERIT is OFF for the tristate buttons.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 17 Dec 2018 09:37:14 +0000 (10:37 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:52 +0000 (14:39 +0200)
src/frontends/qt4/GuiCharacter.cpp

index aaacb0c5a53d83532742a63ef7e8b25e68552797..79398b89f7024e72c0ec043a591debf8984315ca 100644 (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;