Revision 1445

tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/ThresholdsGroup.java (revision 1445)
64 64
	 * @param editor
65 65
	 */
66 66
	public ThresholdsGroup(Composite parent, int style, TXMEditor editor) {
67
		this(parent, style, editor, true);
67
		this(parent, style, editor, false);
68 68
	}
69 69
	
70 70
	/**
......
101 101
		this.setText(TXMCoreMessages.common_thresholds);
102 102
		
103 103
		// Computing listeners
104
		ComputeSelectionListener computeSelectionListener = new ComputeSelectionListener(editor);
104
		ComputeSelectionListener computeSelectionListener = new ComputeSelectionListener(editor, autoCompute);
105 105
		ComputeKeyListener computeKeyListener = new ComputeKeyListener(editor);
106 106

  
107 107
		GridLayout gridLayout = new GridLayout();
......
157 157
		vMaxSpinner.setPageIncrement(100);
158 158
		vMaxSpinner.setLayoutData(fieldsGridData);
159 159
		
160
		if(autoCompute)	{
160
//		if(autoCompute)	{
161 161
			fMinSpinner.addKeyListener(computeKeyListener);
162 162
			fMinSpinner.addSelectionListener(computeSelectionListener);
163 163
			
......
168 168
			
169 169
			vMaxSpinner.addKeyListener(computeKeyListener);
170 170
			vMaxSpinner.addSelectionListener(computeSelectionListener);
171
		}
171
	//	}
172 172
	}
173 173

  
174 174
	/**

Also available in: Unified diff