mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
reduce AppConfig::Save() calls
This commit is contained in:
parent
cccc857f6f
commit
6aa3e400d1
7 changed files with 9 additions and 23 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue