From: Marko Luukkainen Date: Mon, 18 Nov 2019 11:40:11 +0000 (+0200) Subject: Missing library URI from Equipment selection dialog parameters. X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F3554%2F1;p=simantics%2F3d.git Missing library URI from Equipment selection dialog parameters. gitlab #27 Change-Id: I306467532238c87293d1a9def905e475ec7d3c0a --- 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();