Fix themes' inconsistent behaviour after saving
Don't write the fontStyle attribute in the theme if it doesn't exist. Fix #12642, close #12644
This commit is contained in:
parent
109ad868b3
commit
4276165bbd
|
@ -408,7 +408,7 @@ struct Style final
|
|||
|
||||
bool _isFontEnabled = false;
|
||||
generic_string _fontName;
|
||||
int _fontStyle = FONTSTYLE_NONE;
|
||||
int _fontStyle = STYLE_NOT_USED;
|
||||
int _fontSize = STYLE_NOT_USED;
|
||||
|
||||
int _nesting = FONTSTYLE_NONE;
|
||||
|
|
Loading…
Reference in New Issue