Simplify onCompleted call in qml

CURA-8463
This commit is contained in:
Jaime van Kessel 2022-08-26 13:31:48 +02:00
parent 36d3a92fc0
commit d842013a76
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4

View file

@ -221,10 +221,7 @@ Button
}
}
Component.onCompleted:
{
configurationItem.checked = Cura.MachineManager.matchesConfiguration(configuration)
}
Component.onCompleted: configurationItem.checked = Cura.MachineManager.matchesConfiguration(configuration)
onClicked:
{