mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 10:33:15 +08:00
Simplify onCompleted call in qml
CURA-8463
This commit is contained in:
parent
36d3a92fc0
commit
d842013a76
@ -221,10 +221,7 @@ Button
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted:
|
Component.onCompleted: configurationItem.checked = Cura.MachineManager.matchesConfiguration(configuration)
|
||||||
{
|
|
||||||
configurationItem.checked = Cura.MachineManager.matchesConfiguration(configuration)
|
|
||||||
}
|
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user