|
@@ -74,6 +74,8 @@ UM.PreferencesPage
|
|
|
|
|
|
UM.Preferences.resetPreference("cura/single_instance")
|
|
|
singleInstanceCheckbox.checked = boolCheck(UM.Preferences.getValue("cura/single_instance"))
|
|
|
+ UM.Preferences.resetPreference("cura/single_instance_clear_before_load")
|
|
|
+ singleInstanceClearBeforeLoadCheckbox.checked = boolCheck(UM.Preferences.getValue("cura/single_instance_clear_before_load"))
|
|
|
|
|
|
UM.Preferences.resetPreference("physics/automatic_push_free")
|
|
|
pushFreeCheckbox.checked = boolCheck(UM.Preferences.getValue("physics/automatic_push_free"))
|
|
@@ -578,6 +580,22 @@ UM.PreferencesPage
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ UM.TooltipArea
|
|
|
+ {
|
|
|
+ width: childrenRect.width
|
|
|
+ height: childrenRect.height
|
|
|
+ text: catalog.i18nc("@info:tooltip","Should the build plate be cleared before loading a new model in the single instance of Cura?")
|
|
|
+ enabled: singleInstanceCheckbox.checked
|
|
|
+
|
|
|
+ CheckBox
|
|
|
+ {
|
|
|
+ id: singleInstanceClearBeforeLoadCheckbox
|
|
|
+ text: catalog.i18nc("@option:check","Clear buildplate before loading model into the single instance")
|
|
|
+ checked: boolCheck(UM.Preferences.getValue("cura/single_instance_clear_before_load"))
|
|
|
+ onCheckedChanged: UM.Preferences.setValue("cura/single_instance_clear_before_load", checked)
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
UM.TooltipArea
|
|
|
{
|
|
|
width: childrenRect.width
|