Show extruder as disabled if either material or core is missing

It basically just means you can't print with it.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-27 14:20:47 +01:00
parent b0e9f23eee
commit 609f07399e
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -24,6 +24,7 @@ Row
{
materialColor: printCoreConfiguration.material.color
anchors.verticalCenter: parent.verticalCenter
extruderEnabled: printCoreConfiguration.material.name !== "" && printCoreConfiguration.hotendID !== ""
}
}