mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
reduce AppConfig::Save() calls
This commit is contained in:
parent
cccc857f6f
commit
6aa3e400d1
7 changed files with 9 additions and 23 deletions
|
@ -39,7 +39,6 @@ void Camera::set_type(EType type)
|
|||
m_type = type;
|
||||
if (m_update_config_on_type_change_enabled) {
|
||||
wxGetApp().app_config->set_bool("use_perspective_camera", m_type == EType::Perspective);
|
||||
wxGetApp().app_config->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue