Fix reference to addAdditionalComponents and updateAdditionalComponents

Nobody ever tested this, I think...

Contributes to issue CURA-4741.
This commit is contained in:
Ghostkeeper 2017-12-28 15:40:37 +01:00
parent a4d83331ad
commit 5f240229f9
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
2 changed files with 4 additions and 4 deletions

View file

@ -199,12 +199,12 @@ Item
}
Component.onCompleted: {
updateAdditionalComponents("monitorButtons")
buttonsRow.updateAdditionalComponents("monitorButtons")
}
Connections {
target: CuraApplication
onAdditionalComponentsChanged: updateAdditionalComponents
onAdditionalComponentsChanged: buttonsRow.updateAdditionalComponents
}
function updateAdditionalComponents (areaId) {

View file

@ -138,12 +138,12 @@ Item {
}
Component.onCompleted: {
addAdditionalComponents("saveButton")
saveRow.addAdditionalComponents("saveButton")
}
Connections {
target: CuraApplication
onAdditionalComponentsChanged: addAdditionalComponents
onAdditionalComponentsChanged: saveRow.addAdditionalComponents("saveButton")
}
function addAdditionalComponents (areaId) {