]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Apply fix from TypeGroup to MappedTypeGroup also 44/2244/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 26 Sep 2018 09:42:43 +0000 (12:42 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 26 Sep 2018 09:42:43 +0000 (12:42 +0300)
gitlab #96

Change-Id: Icb0a82d14b0e5b8341e70b4f339e65245f8936ea

bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/MappedTypeGroup.java

index 6e7d368b58d61629015f080237a07e5f3205ec17..847505f1744f30d78906dc206b83af4606184b4b 100644 (file)
@@ -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) {