From 90d51eb2b73aa1d9969ce5d8e209503cf4d0f341 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Wed, 26 Sep 2018 12:42:43 +0300 Subject: [PATCH] Apply fix from TypeGroup to MappedTypeGroup also gitlab #96 Change-Id: Icb0a82d14b0e5b8341e70b4f339e65245f8936ea --- .../src/org/simantics/diagram/adapter/MappedTypeGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.1