]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Missing library URI from Equipment selection dialog parameters. 54/3554/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:40:11 +0000 (13:40 +0200)
gitlab #27

Change-Id: I306467532238c87293d1a9def905e475ec7d3c0a

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();