mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 23:35:07 -06:00
Fix reference to addAdditionalComponents and updateAdditionalComponents
Nobody ever tested this, I think... Contributes to issue CURA-4741.
This commit is contained in:
parent
a4d83331ad
commit
5f240229f9
2 changed files with 4 additions and 4 deletions
|
@ -199,12 +199,12 @@ Item
|
|||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
updateAdditionalComponents("monitorButtons")
|
||||
buttonsRow.updateAdditionalComponents("monitorButtons")
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: CuraApplication
|
||||
onAdditionalComponentsChanged: updateAdditionalComponents
|
||||
onAdditionalComponentsChanged: buttonsRow.updateAdditionalComponents
|
||||
}
|
||||
|
||||
function updateAdditionalComponents (areaId) {
|
||||
|
|
|
@ -138,12 +138,12 @@ Item {
|
|||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
addAdditionalComponents("saveButton")
|
||||
saveRow.addAdditionalComponents("saveButton")
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: CuraApplication
|
||||
onAdditionalComponentsChanged: addAdditionalComponents
|
||||
onAdditionalComponentsChanged: saveRow.addAdditionalComponents("saveButton")
|
||||
}
|
||||
|
||||
function addAdditionalComponents (areaId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue