2
0
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:
RadRussianRus 2020-04-17 16:04:36 +03:00
parent 5236413fc5
commit 5b45caadb1

View File

@ -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();
}; };