Revision 37411 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/ui/launcher/FileSelectionPanel.java
FileSelectionPanel.java | ||
---|---|---|
140 | 140 |
if (layer != null) |
141 | 141 |
layer.getDataSource().close(); |
142 | 142 |
layer = FLyrRasterSE.createLayer(RasterUtilities.getLastPart(path, File.separator), path, null); |
143 |
if (layer != null) |
|
143 |
if (layer != null) { |
|
144 |
layer.init(); |
|
144 | 145 |
getFileName().setText(path); |
146 |
} |
|
145 | 147 |
return layer; |
146 | 148 |
} catch (LoadLayerException e) { |
147 | 149 |
} |
Also available in: Unified diff