From 718165baad18db65dabc488eb340b865c13e9174 Mon Sep 17 00:00:00 2001 From: phib Date: Fri, 21 Aug 2009 05:18:28 +0000 Subject: [PATCH] BT 2822227 VLookup fails to update value on combo https://sourceforge.net/tracker/?func=detail&aid=2822227&group_id=176962&atid=879332 --- client/src/org/compiere/grid/ed/VLookup.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/org/compiere/grid/ed/VLookup.java b/client/src/org/compiere/grid/ed/VLookup.java index 823265cc77..c5a48970d4 100644 --- a/client/src/org/compiere/grid/ed/VLookup.java +++ b/client/src/org/compiere/grid/ed/VLookup.java @@ -787,7 +787,10 @@ public class VLookup extends JComponent { // happens if VLookup is used outside of APanel/GridController (no property listener) log.fine(m_columnName + " - Value explicitly set - new=" + updatedValue + ", old=" + m_value); - if (getListeners(PropertyChangeListener.class).length <= 0) + + // phib: the following check causes the update to fail on jre > 1.6.0_13 + // commenting out as it does not appear to be necessary + //if (getListeners(PropertyChangeListener.class).length <= 0) setValue(updatedValue); } } // actionCombo