Revision 458 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/Abrir.java

View differences:

Abrir.java
78 78

  
79 79
                    if (lyr != null) {
80 80
                        try {
81
                            if (lyr instanceof FLyrVect) {
82
                                FLyrVect lyrVect = (FLyrVect) lyr;
83
                                lyrVect.setLegend(LegendFactory.createSingleSymbolLegend());
84
                            }
85 81

  
86 82
                            lyr.setVisible(true);
87 83
                            lyr.setName(layerName);

Also available in: Unified diff