Revision 34258 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/LegendManager.java

View differences:

LegendManager.java
747 747
							aux2.setLegend((IVectorLegend) legend);
748 748
						}
749 749
					}
750
					else if (legend instanceof ISingleSymbolLegend)
750
					else if (legend instanceof IVectorLegend) {
751 751
						aux2.setLegend((IVectorLegend) legend);
752
					}	
752 753
				} catch (LegendLayerException e) {
753 754
					NotificationManager.addError(PluginServices.getText(this, "legend_exception"), e);
754 755
				}

Also available in: Unified diff