mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 03:35:58 +08:00
After merge fixes
This commit is contained in:
parent
ced6d26917
commit
657fb125ff
@ -5766,7 +5766,6 @@ void Plater::export_stl(bool extended, bool selection_only)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
// This is SLA mode, all objects have only one volume.
|
// This is SLA mode, all objects have only one volume.
|
||||||
// However, we must have a look at the backend to load
|
// However, we must have a look at the backend to load
|
||||||
|
@ -261,14 +261,12 @@ void PreferencesDialog::build()
|
|||||||
|
|
||||||
m_optgroup_general->append_separator();
|
m_optgroup_general->append_separator();
|
||||||
|
|
||||||
def.label = L("Ask for unsaved changes in project");
|
append_bool_option(m_optgroup_general, "default_action_on_dirty_project",
|
||||||
def.type = coBool;
|
L("Ask for unsaved changes in project"),
|
||||||
def.tooltip = L("Always ask for unsaved changes in project, when: \n"
|
L("Always ask for unsaved changes in project, when: \n"
|
||||||
"- Closing PrusaSlicer,\n"
|
"- Closing PrusaSlicer,\n"
|
||||||
"- Loading or creating a new project");
|
"- Loading or creating a new project"),
|
||||||
def.set_default_value(new ConfigOptionBool{ app_config->get("default_action_on_dirty_project").empty() });
|
app_config->get("default_action_on_dirty_project").empty());
|
||||||
option = Option(def, "default_action_on_dirty_project");
|
|
||||||
m_optgroup_general->append_single_option_line(option);
|
|
||||||
|
|
||||||
m_optgroup_general->append_separator();
|
m_optgroup_general->append_separator();
|
||||||
|
|
||||||
@ -314,12 +312,10 @@ void PreferencesDialog::build()
|
|||||||
L("Show splash screen"),
|
L("Show splash screen"),
|
||||||
app_config->get("show_splash_screen") == "1");
|
app_config->get("show_splash_screen") == "1");
|
||||||
|
|
||||||
def.label = L("Restore window position on start");
|
append_bool_option(m_optgroup_general, "restore_win_position",
|
||||||
def.type = coBool;
|
L("Restore window position on start"),
|
||||||
def.tooltip = L("If enabled, PrusaSlicer will be open at the position it was closed");
|
L("If enabled, PrusaSlicer will be open at the position it was closed"),
|
||||||
def.set_default_value(new ConfigOptionBool{ app_config->get("restore_win_position") == "1" });
|
app_config->get("restore_win_position") == "1");
|
||||||
option = Option(def, "restore_win_position");
|
|
||||||
m_optgroup_general->append_single_option_line(option);
|
|
||||||
|
|
||||||
// Clear Undo / Redo stack on new project
|
// Clear Undo / Redo stack on new project
|
||||||
append_bool_option(m_optgroup_general, "clear_undo_redo_stack_on_new_project",
|
append_bool_option(m_optgroup_general, "clear_undo_redo_stack_on_new_project",
|
||||||
@ -397,7 +393,7 @@ void PreferencesDialog::build()
|
|||||||
|
|
||||||
append_bool_option(m_optgroup_gui, "suppress_hyperlinks",
|
append_bool_option(m_optgroup_gui, "suppress_hyperlinks",
|
||||||
L("Suppress to open hyperlink in browser"),
|
L("Suppress to open hyperlink in browser"),
|
||||||
L("If enabled, PrusaSlicer will not open a hyperlinks in your browser.")
|
L("If enabled, PrusaSlicer will not open a hyperlinks in your browser."),
|
||||||
//L("If enabled, the descriptions of configuration parameters in settings tabs wouldn't work as hyperlinks. "
|
//L("If enabled, the descriptions of configuration parameters in settings tabs wouldn't work as hyperlinks. "
|
||||||
// "If disabled, the descriptions of configuration parameters in settings tabs will work as hyperlinks."),
|
// "If disabled, the descriptions of configuration parameters in settings tabs will work as hyperlinks."),
|
||||||
app_config->get("suppress_hyperlinks") == "1");
|
app_config->get("suppress_hyperlinks") == "1");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user