Fixed: CPPredicateEditor predicate when the template has a CPFloatAttributeType

This commit is contained in:
cacaodev committed 2016-05-15 10:06:52 +02:00
1 parent 818d5d782f
commit 333e112e37
1 file changed
+1 -1
@@ -471,7 +471,7 @@ CPTransformableAttributeType = 1800;
var value;
if (attributeType >= CPInteger16AttributeType && attributeType <= CPFloatAttributeType)
value = [aView intValue];
value = [aView floatValue];
else if (attributeType == CPBooleanAttributeType)
value = [aView state];
else if (attributeType == CPDateAttributeType)