mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Make selecting objects on load optional and opt-in
This commit is contained in:
parent
f67261488f
commit
fb8f735566
2 changed files with 22 additions and 2 deletions
|
@ -79,6 +79,8 @@ UM.PreferencesPage
|
|||
scaleToFitCheckbox.checked = boolCheck(UM.Preferences.getValue("mesh/scale_to_fit"))
|
||||
UM.Preferences.resetPreference("mesh/scale_tiny_meshes")
|
||||
scaleTinyCheckbox.checked = boolCheck(UM.Preferences.getValue("mesh/scale_tiny_meshes"))
|
||||
UM.Preferences.resetPreference("cura/select_models_on_load")
|
||||
selectModelsOnLoadCheckbox.checked = boolCheck(UM.Preferences.getValue("cura/select_models_on_load"))
|
||||
UM.Preferences.resetPreference("cura/jobname_prefix")
|
||||
prefixJobNameCheckbox.checked = boolCheck(UM.Preferences.getValue("cura/jobname_prefix"))
|
||||
UM.Preferences.resetPreference("view/show_overhang");
|
||||
|
@ -498,6 +500,21 @@ UM.PreferencesPage
|
|||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
text: catalog.i18nc("@info:tooltip","Should models be selected after they are loaded?")
|
||||
|
||||
CheckBox
|
||||
{
|
||||
id: selectModelsOnLoadCheckbox
|
||||
text: catalog.i18nc("@option:check","Select models when loaded")
|
||||
checked: boolCheck(UM.Preferences.getValue("cura/select_models_on_load"))
|
||||
onCheckedChanged: UM.Preferences.setValue("cura/select_models_on_load", checked)
|
||||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue