Index: /applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java
===================================================================
--- /applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java	(revision 31716)
+++ /applications/editors/josm/plugins/seachartedit/src/panels/PanelS57.java	(revision 31717)
@@ -66,5 +66,5 @@
 		}
 		map = new S57map(true);
-		MapBounds bounds = S57dec.decodeFile(in, map);
+		S57dec.decodeChart(in, map);
 
 		in.close();
@@ -186,5 +186,5 @@
 		OsmDataLayer layer = new OsmDataLayer(data, "S-57 Import", null);
 		Main.map.mapView.addLayer(layer);
-		Main.map.mapView.zoomTo(new Bounds(bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon));
+//		Main.map.mapView.zoomTo(new Bounds(bounds.minlat, bounds.minlon, bounds.maxlat, bounds.maxlon));
 		PanelMain.setStatus("Import done", Color.green);
 	}
