mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fixed qml undefined errors
This commit is contained in:
parent
a5720adb66
commit
0530f107c7
1 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ Item
|
||||||
//: Setting enable skirt adhesion checkbox
|
//: Setting enable skirt adhesion checkbox
|
||||||
text: catalog.i18nc("@action:checkbox","Enable Skirt Adhesion");
|
text: catalog.i18nc("@action:checkbox","Enable Skirt Adhesion");
|
||||||
style: UM.Theme.styles.checkbox;
|
style: UM.Theme.styles.checkbox;
|
||||||
checked: Printer.getSettingValue("skirt_line_count");
|
checked: Printer.getSettingValue("skirt_line_count") == null ? false: Printer.getSettingValue("skirt_line_count");
|
||||||
onCheckedChanged:
|
onCheckedChanged:
|
||||||
{
|
{
|
||||||
if(checked != Printer.getSettingValue("skirt_line_count"))
|
if(checked != Printer.getSettingValue("skirt_line_count"))
|
||||||
|
|
@ -170,7 +170,7 @@ Item
|
||||||
|
|
||||||
style: UM.Theme.styles.checkbox;
|
style: UM.Theme.styles.checkbox;
|
||||||
|
|
||||||
checked: Printer.getSettingValue("support_enable");
|
checked: Printer.getSettingValue("support_enable") == null? false: Printer.getSettingValue("support_enable");
|
||||||
onCheckedChanged:
|
onCheckedChanged:
|
||||||
{
|
{
|
||||||
if(checked != Printer.getSettingValue("support_enable"))
|
if(checked != Printer.getSettingValue("support_enable"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue