mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
parent
7d954c18c5
commit
a5720adb66
1 changed files with 14 additions and 2 deletions
|
@ -154,7 +154,13 @@ Item
|
|||
text: catalog.i18nc("@action:checkbox","Enable Skirt Adhesion");
|
||||
style: UM.Theme.styles.checkbox;
|
||||
checked: Printer.getSettingValue("skirt_line_count");
|
||||
onCheckedChanged: Printer.setSettingValue("skirt_line_count", checked);
|
||||
onCheckedChanged:
|
||||
{
|
||||
if(checked != Printer.getSettingValue("skirt_line_count"))
|
||||
{
|
||||
Printer.setSettingValue("skirt_line_count", checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
CheckBox{
|
||||
Layout.preferredHeight: UM.Theme.sizes.section.height;
|
||||
|
@ -165,7 +171,13 @@ Item
|
|||
style: UM.Theme.styles.checkbox;
|
||||
|
||||
checked: Printer.getSettingValue("support_enable");
|
||||
onCheckedChanged: Printer.setSettingValue("support_enable", checked);
|
||||
onCheckedChanged:
|
||||
{
|
||||
if(checked != Printer.getSettingValue("support_enable"))
|
||||
{
|
||||
Printer.setSettingValue("support_enable", checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue