mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00: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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user