GuiCharacter: INHERIT is OFF for the tristate buttons.

(cherry picked from commit 1b6ce0e827)
This commit is contained in:
Juergen Spitzmueller 2018-12-17 10:37:14 +01:00
parent 0dcf78a4ad
commit 262b0dcca4
2 changed files with 3 additions and 1 deletions

View File

@ -363,12 +363,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;

View File

@ -67,6 +67,8 @@ What's new
- Fix undo in some cases involving nesting (bug 11292).
- Fix some display problems in the Text Properties dialog (bug 11385).
* INTERNALS