mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix font settings reset
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user