Skip to content

Commit

Permalink
Fixed: CPPredicateEditor predicate when the template has a CPFloatAtt…
Browse files Browse the repository at this point in the history
…ributeType
  • Loading branch information
cacaodev committed May 15, 2016
1 parent 818d5d7 commit 333e112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/CPRuleEditor/CPPredicateEditorRowTemplate.j
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 333e112

Please sign in to comment.