Revision 11717 branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/FPanelLegendValues.java

View differences:

FPanelLegendValues.java
210 210

  
211 211
            //auxLegend=(VectorialUniqueValueLegend)m_lyr.getLegend();
212 212
            auxLegend = LegendFactory.createVectorialUniqueValueLegend(m_lyr.getShapeType());
213

  
213
            auxLegend.setFieldName(fieldName);
214 214
            Value clave;
215 215

  
216 216
            //Object resul;
......
378 378
        fillSymbolListFromTable();
379 379

  
380 380
        if (auxLegend != null) {
381
            m_Renderer.setDefaultSymbol(auxLegend.getDefaultSymbol());
382
            m_Renderer.useDefaultSymbol(chbUseDefault.isSelected());
381
        	return auxLegend;
382

  
383 383
        }
384 384

  
385 385
        return m_Renderer;

Also available in: Unified diff