From 748b1dbf068f8a71181c09231e75fce33548ac20 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Fri, 9 Oct 2020 09:03:14 +0300 Subject: [PATCH] Limit tech type code enumeration to enabled items gitlab #101 Change-Id: Ie749bf5f7a32cabd71535b36012867d2aa04bf58 (cherry picked from commit 484707a4336644e28c35e0558bd157ca3b74366f) --- .../simantics/district/network/techtype/variable/Functions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.district.network/src/org/simantics/district/network/techtype/variable/Functions.java b/org.simantics.district.network/src/org/simantics/district/network/techtype/variable/Functions.java index a6a3ed2d..d23a9a00 100644 --- a/org.simantics.district.network/src/org/simantics/district/network/techtype/variable/Functions.java +++ b/org.simantics.district.network/src/org/simantics/district/network/techtype/variable/Functions.java @@ -85,7 +85,7 @@ public class Functions { if (table == null) return Collections.emptyList(); - Map> data = graph.syncRequest(new TechTypeTableData(table), TransientCacheListener.instance()); + Map> data = graph.syncRequest(new TechTypeTableData(table, true), TransientCacheListener.instance()); ArrayList result = new ArrayList(data.keySet()); // Sort so that all numbers are in growing order -- 2.47.1