mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 12:55:54 +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: {
|
Component.onCompleted: {
|
||||||
updateAdditionalComponents("monitorButtons")
|
buttonsRow.updateAdditionalComponents("monitorButtons")
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: CuraApplication
|
target: CuraApplication
|
||||||
onAdditionalComponentsChanged: updateAdditionalComponents
|
onAdditionalComponentsChanged: buttonsRow.updateAdditionalComponents
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateAdditionalComponents (areaId) {
|
function updateAdditionalComponents (areaId) {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user