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: { Component.onCompleted: {
updateAdditionalComponents("monitorButtons") buttonsRow.updateAdditionalComponents("monitorButtons")
} }
Connections { Connections {
target: CuraApplication target: CuraApplication
onAdditionalComponentsChanged: updateAdditionalComponents onAdditionalComponentsChanged: buttonsRow.updateAdditionalComponents
} }
function updateAdditionalComponents (areaId) { function updateAdditionalComponents (areaId) {

View File

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