mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-17 09:05:53 +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 {
|
||||
// This is SLA mode, all objects have only one volume.
|
||||
// However, we must have a look at the backend to load
|
||||
|
@ -261,14 +261,12 @@ void PreferencesDialog::build()
|
||||
|
||||
m_optgroup_general->append_separator();
|
||||
|
||||
def.label = L("Ask for unsaved changes in project");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("Always ask for unsaved changes in project, when: \n"
|
||||
append_bool_option(m_optgroup_general, "default_action_on_dirty_project",
|
||||
L("Ask for unsaved changes in project"),
|
||||
L("Always ask for unsaved changes in project, when: \n"
|
||||
"- Closing PrusaSlicer,\n"
|
||||
"- Loading or creating a new project");
|
||||
def.set_default_value(new ConfigOptionBool{ 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);
|
||||
"- Loading or creating a new project"),
|
||||
app_config->get("default_action_on_dirty_project").empty());
|
||||
|
||||
m_optgroup_general->append_separator();
|
||||
|
||||
@ -314,12 +312,10 @@ void PreferencesDialog::build()
|
||||
L("Show splash screen"),
|
||||
app_config->get("show_splash_screen") == "1");
|
||||
|
||||
def.label = L("Restore window position on start");
|
||||
def.type = coBool;
|
||||
def.tooltip = 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" });
|
||||
option = Option(def, "restore_win_position");
|
||||
m_optgroup_general->append_single_option_line(option);
|
||||
append_bool_option(m_optgroup_general, "restore_win_position",
|
||||
L("Restore window position on start"),
|
||||
L("If enabled, PrusaSlicer will be open at the position it was closed"),
|
||||
app_config->get("restore_win_position") == "1");
|
||||
|
||||
// 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",
|
||||
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. "
|
||||
// "If disabled, the descriptions of configuration parameters in settings tabs will work as hyperlinks."),
|
||||
app_config->get("suppress_hyperlinks") == "1");
|
||||
|
Loading…
x
Reference in New Issue
Block a user