From 6752a53a3781eb68a63686b1d4db316d4604d4df Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Tue, 5 Aug 2008 08:56:27 +0000 Subject: [PATCH] BF [ 2038591 ] IndexOutOfBoundsException on process dialog --- .../src/org/compiere/apps/ProcessParameterPanel.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/org/compiere/apps/ProcessParameterPanel.java b/client/src/org/compiere/apps/ProcessParameterPanel.java index 25cc519320..b3d637af60 100644 --- a/client/src/org/compiere/apps/ProcessParameterPanel.java +++ b/client/src/org/compiere/apps/ProcessParameterPanel.java @@ -300,12 +300,12 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe vEditor.addVetoableChangeListener(this); // MField => VEditor - New Field value to be updated to editor mField.addPropertyChangeListener(vEditor); - // Set Default - Object defaultObject = mField.getDefault(); - mField.setValue (defaultObject, true); // centerPanel.add ((Component)vEditor, gbc); m_vEditors.add (vEditor); // add to Editors + // Set Default + Object defaultObject = mField.getDefault(); + mField.setValue (defaultObject, true); // if (voF.isRange) { @@ -330,12 +330,12 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe VEditor vEditor2 = VEditorFactory.getEditor(mField2, false); // New Field value to be updated to editor mField2.addPropertyChangeListener(vEditor2); - // Set Default - Object defaultObject2 = mField2.getDefault(); - mField2.setValue (defaultObject2, true); // centerPanel.add ((Component)vEditor2, gbc); m_vEditors2.add (vEditor2); + // Set Default + Object defaultObject2 = mField2.getDefault(); + mField2.setValue (defaultObject2, true); } else {