Revision 5491 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/gui/dialogs/GeoreferencingDialog.java

View differences:

GeoreferencingDialog.java
612 612
	private void deactivatePanel(View theView, JCheckBox cb)throws Exception{
613 613
		if(getLyrPoints() == null)
614 614
			throw new Exception("LyrPoints not loaded.");
615
		
615 616
		if(cb.isSelected()){
616 617
			this.setEnabled(true);
617 618
			getLyrPoints().setPointActive(getSelectedPoint(), true);
......
619 620
			this.setEnabled(false);
620 621
			getLyrPoints().setPointActive(getSelectedPoint(), false);
621 622
		}
623
		
624
		//Al activar y desactivar tenemos que recalcular errores
625
		this.getPointManager().setErrors(getSelectedPoint());
626
		
622 627
		theView.getMapControl().getMapContext().invalidate();
623 628
		getZoomControlLeft().draw();
624 629
		getZoomControlRight().draw();		

Also available in: Unified diff