From 0493ab7d61ff3049d9e22fba9c062c3983028143 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Mon, 18 Nov 2019 13:40:11 +0200 Subject: [PATCH] Missing library URI from Equipment selection dialog parameters. gitlab #27 Change-Id: I306467532238c87293d1a9def905e475ec7d3c0a --- .../src/org/simantics/plant3d/actions/AddEquipmentAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction.java b/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction.java index 7efb0f83..d41dba44 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction.java @@ -29,7 +29,7 @@ public class AddEquipmentAction extends Action { @Override public void run() { - EquipmentSelectionDialog dialog = new EquipmentSelectionDialog(Display.getCurrent().getActiveShell(), root); + EquipmentSelectionDialog dialog = new EquipmentSelectionDialog(Display.getCurrent().getActiveShell(), root, libUri); if (dialog.open() == EquipmentSelectionDialog.CANCEL) return; Item item = dialog.getSelected(); -- 2.47.1