Revision 9025 branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/AddLayer.java
AddLayer.java | ||
---|---|---|
409 | 409 |
wp.execute(); |
410 | 410 |
lyr = wp.getLayer(); |
411 | 411 |
|
412 |
if( ! lyr.isOk()){
|
|
412 |
if((lyr != null) && !(lyr.isOk())){
|
|
413 | 413 |
//if the layer is not okay (it has errors) process them |
414 | 414 |
processErrorsOfLayer(lyr, mapControl); |
415 | 415 |
} |
Also available in: Unified diff