Revision 969 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/properties/panel/NoDataPanel.java

View differences:

NoDataPanel.java
162 162
			jCheckBoxNoDataEnabled = new JCheckBox();
163 163
			jCheckBoxNoDataEnabled.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));
164 164
			jCheckBoxNoDataEnabled.setMargin(new Insets(0, 0, 0, 0));
165
			jCheckBoxNoDataEnabled.addActionListener(this);
165 166
		}
166 167
		return jCheckBoxNoDataEnabled;
167 168
	}
......
294 295
			}
295 296
		}
296 297
		
298
		if(e.getSource() == getCheckBoxNoDataEnabled()) {
299
			if (RasterExtension.autoRefreshView)
300
				lyr.setNoDataTransparent(getCheckBoxNoDataEnabled().isSelected());
301
		}
302
		
297 303
		if (RasterExtension.autoRefreshView) {
298 304
			if (lyr == null || lyr.getDataStore() == null)
299 305
				return;

Also available in: Unified diff