Revision 25730 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/LabelingManager.java

View differences:

LabelingManager.java
287 287
	public void applyAction() {
288 288
		if (layer != null) { // in other case the layer is not labelable
289 289
			ILabelingStrategyPanel panel = ((LabelingStrategyItem) getCmbStrategy().getSelectedItem()).strategyPanel;
290
			layer.setLabelingStrategy(panel.getLabelingStrategy());
290
			ILabelingStrategy strategy=panel.getLabelingStrategy();
291
			layer.setLabelingStrategy(strategy);
291 292
			layer.setIsLabeled(getChkApplyLabels().isSelected());
292 293
		}
293 294
	}

Also available in: Unified diff