mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
If a combination material does not like the setup, we now mark it in red.
CURA-2271
This commit is contained in:
parent
d68f6a4e9a
commit
ec587eb0dd
1 changed files with 13 additions and 0 deletions
|
@ -232,6 +232,19 @@ Column
|
|||
text: Cura.MachineManager.activeMaterialName
|
||||
tooltip: Cura.MachineManager.activeMaterialName
|
||||
visible: Cura.MachineManager.hasMaterials
|
||||
property var valueError:
|
||||
{
|
||||
var data = Cura.ContainerManager.getContainerMetaDataEntry(Cura.MachineManager.activeMaterialId, "compatible")
|
||||
print(data)
|
||||
if(data == "" || data == "True")
|
||||
{
|
||||
return false
|
||||
}
|
||||
if(data == "False")
|
||||
{
|
||||
return true
|
||||
}
|
||||
}
|
||||
enabled: !extrudersList.visible || base.currentExtruderIndex > -1
|
||||
|
||||
height: UM.Theme.getSize("setting_control").height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue