]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Missing library URI from Equipment selection dialog parameters. 55/3555/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 18 Nov 2019 11:40:11 +0000 (13:40 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 18 Nov 2019 11:43:31 +0000 (11:43 +0000)
gitlab #27

Change-Id: I306467532238c87293d1a9def905e475ec7d3c0a
(cherry picked from commit 0493ab7d61ff3049d9e22fba9c062c3983028143)

org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction.java

index 7efb0f83f2cc3892d135d5c1f424692223e6ec6c..d41dba44cec095c27447165578b7f05f8eede6f5 100644 (file)
@@ -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();