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