From 86272e445c85fe3120ea4f423180bebbc45cd8bc Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Sat, 5 Jul 2008 10:15:15 +0000 Subject: [PATCH] BF [ 2011222 ] ASI Dialog is reseting locator --- client/src/org/compiere/grid/ed/VPAttribute.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/org/compiere/grid/ed/VPAttribute.java b/client/src/org/compiere/grid/ed/VPAttribute.java index 519249365f..a13898f573 100644 --- a/client/src/org/compiere/grid/ed/VPAttribute.java +++ b/client/src/org/compiere/grid/ed/VPAttribute.java @@ -56,6 +56,7 @@ import org.compiere.util.Msg; * @author Teo Sarca, SC ARHIPAC SERVICE SRL *
  • BF [ 1895041 ] NPE when move product with attribute set *
  • BF [ 1770177 ] Inventory Move Locator Error - integrated MGrigioni bug fix + *
  • BF [ 2011222 ] ASI Dialog is reseting locator */ public class VPAttribute extends JComponent implements VEditor, ActionListener @@ -371,7 +372,7 @@ public class VPAttribute extends JComponent { m_text.setText(vad.getM_AttributeSetInstanceName()); M_AttributeSetInstance_ID = vad.getM_AttributeSetInstance_ID(); - if (m_GridTab != null && !productWindow) + if (m_GridTab != null && !productWindow && vad.getM_Locator_ID() > 0) m_GridTab.setValue("M_Locator_ID", vad.getM_Locator_ID()); changed = true; }