mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
GuiCharacter: INHERIT is OFF for the tristate buttons.
This commit is contained in:
parent
a1a7c21871
commit
1b6ce0e827
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user