mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: [STUDIO-2550] config auto sync system presets
Change-Id: I83f9baae5793b214f4d1c040f5819ad9a03cd47f (cherry picked from commit 40fe90e176fc001f54b22375ddb0dd035a6d84cd)
This commit is contained in:
parent
d776c7595e
commit
0ca3f27c54
4 changed files with 16 additions and 7 deletions
|
@ -293,6 +293,10 @@ void AppConfig::set_defaults()
|
|||
set_bool("staff_pick_switch", true);
|
||||
}
|
||||
|
||||
if (get("sync_system_preset").empty()) {
|
||||
set_bool("sync_system_preset", true);
|
||||
}
|
||||
|
||||
if (get("backup_switch").empty()) {
|
||||
set_bool("backup_switch", true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue