From: Tuukka Lehtonen Date: Wed, 26 Sep 2018 09:42:43 +0000 (+0300) Subject: Apply fix from TypeGroup to MappedTypeGroup also X-Git-Tag: v1.43.0~136^2~356 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=90d51eb2b73aa1d9969ce5d8e209503cf4d0f341;p=simantics%2Fplatform.git Apply fix from TypeGroup to MappedTypeGroup also gitlab #96 Change-Id: Icb0a82d14b0e5b8341e70b4f339e65245f8936ea --- diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/MappedTypeGroup.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/MappedTypeGroup.java index 6e7d368b5..847505f17 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/MappedTypeGroup.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/MappedTypeGroup.java @@ -42,7 +42,7 @@ public class MappedTypeGroup implements Group { private final String name; public MappedTypeGroup(String name, Resource type) { - this(name); + this(name, new Resource[] { type }); } public MappedTypeGroup(String name, Resource... types) {