mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
reduce AppConfig::Save() calls
This commit is contained in:
@@ -272,7 +272,6 @@ void update_dark_config()
|
||||
{
|
||||
wxSystemAppearance app = wxSystemSettings::GetAppearance();
|
||||
GUI::wxGetApp().app_config->set("dark_color_mode", app.IsDark() ? "1" : "0");
|
||||
GUI::wxGetApp().app_config->save();
|
||||
wxGetApp().Update_dark_mode_flag();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user