mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Fix font settings reset
This commit is contained in:
parent
5236413fc5
commit
5b45caadb1
@ -136,6 +136,12 @@ void FontsBox::resetToDefault() {
|
|||||||
cSetSemiboldFont(QString());
|
cSetSemiboldFont(QString());
|
||||||
cSetSemiboldFontIsBold(false);
|
cSetSemiboldFontIsBold(false);
|
||||||
cSetMonospaceFont(QString());
|
cSetMonospaceFont(QString());
|
||||||
|
#ifdef DESKTOP_APP_USE_PACKAGED_FONTS
|
||||||
|
cSetUseSystemFont(true);
|
||||||
|
#else
|
||||||
|
cSetUseSystemFont(false);
|
||||||
|
#endif
|
||||||
|
cSetUseOriginalMetrics(false);
|
||||||
KotatoSettings::Write();
|
KotatoSettings::Write();
|
||||||
App::restart();
|
App::restart();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user