Fix two warnings on startup

CURA-1758
This commit is contained in:
fieldOfView 2016-07-25 11:41:54 +02:00
parent ac0de58ecb
commit 87abed39f0

View File

@ -33,8 +33,6 @@ ScrollView
exclude: ["machine_settings"] exclude: ["machine_settings"]
expanded: Printer.expandedCategories expanded: Printer.expandedCategories
onExpandedChanged: Printer.setExpandedCategories(expanded) onExpandedChanged: Printer.setExpandedCategories(expanded)
filter: {}
} }
delegate: Loader delegate: Loader
@ -183,7 +181,7 @@ ScrollView
//: Settings context menu action //: Settings context menu action
text: catalog.i18nc("@action:menu", "Copy value to all extruders") text: catalog.i18nc("@action:menu", "Copy value to all extruders")
visible: machineExtruderCount.properties.value > 1 visible: machineExtruderCount.properties.value > 1
enabled: contextMenu.provider.properties.settable_per_extruder != "False" enabled: contextMenu.provider != undefined && contextMenu.provider.properties.settable_per_extruder != "False"
onTriggered: Cura.MachineManager.copyValueToExtruders(contextMenu.key) onTriggered: Cura.MachineManager.copyValueToExtruders(contextMenu.key)
} }