mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:36:01 +08: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
@ -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…
x
Reference in New Issue
Block a user