Revision 1320 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.algorithm/org.gvsig.raster.tools.algorithm.swing/org.gvsig.raster.tools.algorithm.swing.impl/src/main/java/org/gvsig/raster/tools/algorithm/swing/impl/maskthreshold/OutputMaskThresholdImpl.java
OutputMaskThresholdImpl.java | ||
---|---|---|
95 | 95 |
|
96 | 96 |
public void actionPerformed(ActionEvent e) { |
97 | 97 |
if(e.getSource() == getMethodOutput().getCombo()) { |
98 |
if(getMethodOutput().getCombo().getSelectedIndex() == 1) { |
|
98 |
if(getMethodOutput().getCombo().getSelectedIndex() == 0 || |
|
99 |
getMethodOutput().getCombo().getSelectedIndex() == 1) { |
|
99 | 100 |
getMethodOutput().getTextField().setEnabled(true); |
100 | 101 |
} else { |
101 | 102 |
getMethodOutput().getTextField().setEnabled(false); |
Also available in: Unified diff