mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:09:01 +08:00
Changed valueError property to bool instead of var
A bit more specific. Contributes to issue CURA-5876. Co-Authored-By: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
parent
9b8b91b6a4
commit
023100f4c3
@ -181,7 +181,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: materialSelection
|
id: materialSelection
|
||||||
|
|
||||||
property var valueError: Cura.MachineManager.activeStack != null ? Cura.ContainerManager.getContainerMetaDataEntry(Cura.MachineManager.activeStack.material.id, "compatible", "") != "True" : true
|
property bool valueError: Cura.MachineManager.activeStack != null ? Cura.ContainerManager.getContainerMetaDataEntry(Cura.MachineManager.activeStack.material.id, "compatible", "") != "True" : true
|
||||||
property var valueWarning: !Cura.MachineManager.isActiveQualitySupported
|
property var valueWarning: !Cura.MachineManager.isActiveQualitySupported
|
||||||
|
|
||||||
text: Cura.MachineManager.activeStack != null ? Cura.MachineManager.activeStack.material.name : ""
|
text: Cura.MachineManager.activeStack != null ? Cura.MachineManager.activeStack.material.name : ""
|
||||||
@ -232,4 +232,4 @@ Item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user