IDEMPIERE-863 Process dialog shows default values even though are not valid reference values.
This commit is contained in:
parent
1ab95f22bb
commit
5e668a2cae
|
@ -282,11 +282,11 @@ public class ProcessParameterPanel extends Panel implements
|
||||||
editor.getComponent().addEventListener(Events.ON_BLUR, this);
|
editor.getComponent().addEventListener(Events.ON_BLUR, this);
|
||||||
editor.addValueChangeListener(this);
|
editor.addValueChangeListener(this);
|
||||||
editor.dynamicDisplay();
|
editor.dynamicDisplay();
|
||||||
// MField => VEditor - New Field value to be updated to editor
|
|
||||||
mField.addPropertyChangeListener(editor);
|
|
||||||
// Set Default
|
// Set Default
|
||||||
Object defaultObject = mField.getDefault();
|
Object defaultObject = mField.getDefault();
|
||||||
mField.setValue(defaultObject, true);
|
mField.setValue(defaultObject, true);
|
||||||
|
// MField => VEditor - New Field value to be updated to editor
|
||||||
|
mField.addPropertyChangeListener(editor);
|
||||||
// streach component to fill grid cell
|
// streach component to fill grid cell
|
||||||
editor.fillHorizontal();
|
editor.fillHorizontal();
|
||||||
// setup editor context menu
|
// setup editor context menu
|
||||||
|
|
Loading…
Reference in New Issue