X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2Fchart%2Fproperty%2FBooleanPropertyFactory.java;h=8efe2668a6980aa0bb42645597ee364836e343b8;hp=14dc51c1d24d9451a31ccf6121943027127dce73;hb=0a8153231a20d3de2950a9558b5becdca38ed477;hpb=17a42ca754147cfd5d101ae120697fbb172b3411 diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/chart/property/BooleanPropertyFactory.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/chart/property/BooleanPropertyFactory.java index 14dc51c1d..8efe2668a 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/chart/property/BooleanPropertyFactory.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/chart/property/BooleanPropertyFactory.java @@ -36,7 +36,7 @@ public class BooleanPropertyFactory extends ReadFactoryImpl { @Override public Boolean perform(ReadGraph graph, Resource r) throws DatabaseException { - return graph.getPossibleRelatedValue2(r, graph.getResource(propertyURI), Bindings.BOOLEAN); + return Boolean.TRUE.equals( graph.getPossibleRelatedValue2(r, graph.getResource(propertyURI), Bindings.BOOLEAN) ); } }