Fix font settings reset
This commit is contained in:
parent
5236413fc5
commit
5b45caadb1
1 changed files with 6 additions and 0 deletions
|
|
@ -136,6 +136,12 @@ void FontsBox::resetToDefault() {
|
|||
cSetSemiboldFont(QString());
|
||||
cSetSemiboldFontIsBold(false);
|
||||
cSetMonospaceFont(QString());
|
||||
#ifdef DESKTOP_APP_USE_PACKAGED_FONTS
|
||||
cSetUseSystemFont(true);
|
||||
#else
|
||||
cSetUseSystemFont(false);
|
||||
#endif
|
||||
cSetUseOriginalMetrics(false);
|
||||
KotatoSettings::Write();
|
||||
App::restart();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue