mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:48:58 +08:00
Simplified statement as per review
CURA-2271
This commit is contained in:
parent
7caecd0a41
commit
4d84584f59
@ -235,14 +235,15 @@ Column
|
||||
property var valueError:
|
||||
{
|
||||
var data = Cura.ContainerManager.getContainerMetaDataEntry(Cura.MachineManager.activeMaterialId, "compatible")
|
||||
if(data == "" || data == "True")
|
||||
{
|
||||
return false
|
||||
}
|
||||
if(data == "False")
|
||||
{
|
||||
return true
|
||||
}
|
||||
else
|
||||
{
|
||||
return false
|
||||
}
|
||||
|
||||
}
|
||||
enabled: !extrudersList.visible || base.currentExtruderIndex > -1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user