mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Implement #8106: Add setting to prevent loading printer information/project settings from .3mf (#8268)
* Initial implementation * Add remember option to open project/load geometry only popup * PR Feedback
This commit is contained in:
parent
d1161ea0e7
commit
cc92abf8b5
5 changed files with 133 additions and 49 deletions
|
@ -114,11 +114,6 @@ void AppConfig::set_defaults()
|
|||
set_bool("background_processing", false);
|
||||
#endif
|
||||
|
||||
#ifdef SUPPORT_SHOW_DROP_PROJECT
|
||||
if (get("show_drop_project_dialog").empty())
|
||||
set_bool("show_drop_project_dialog", true);
|
||||
#endif
|
||||
|
||||
if (get("drop_project_action").empty())
|
||||
set_bool("drop_project_action", true);
|
||||
|
||||
|
@ -347,7 +342,11 @@ void AppConfig::set_defaults()
|
|||
if (get("mouse_wheel").empty()) {
|
||||
set("mouse_wheel", "0");
|
||||
}
|
||||
|
||||
|
||||
if (get(SETTING_PROJECT_LOAD_BEHAVIOUR).empty()) {
|
||||
set(SETTING_PROJECT_LOAD_BEHAVIOUR, OPTION_PROJECT_LOAD_BEHAVIOUR_ASK_WHEN_RELEVANT);
|
||||
}
|
||||
|
||||
if (get("max_recent_count").empty()) {
|
||||
set("max_recent_count", "18");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue