Settings: Only write out config on setting change for persistent changes

This commit is contained in:
Jonathan G Rennison
2023-08-24 17:27:47 +01:00
parent f8c8ba2670
commit 547c00b465
8 changed files with 81 additions and 38 deletions

View File

@@ -121,7 +121,7 @@ void SetFont(FontSize fontsize, const std::string& font, uint size, bool aa)
UpdateAllVirtCoords();
ReInitAllWindows(true);
if (_save_config) SaveToConfig();
if (_save_config) SaveToConfig(STCF_GENERIC);
}
#ifdef WITH_FREETYPE