BT 2822227 VLookup fails to update value on combo

https://sourceforge.net/tracker/?func=detail&aid=2822227&group_id=176962&atid=879332
This commit is contained in:
phib 2009-08-21 05:18:28 +00:00
parent b37b954b6f
commit 718165baad
1 changed files with 4 additions and 1 deletions

View File

@ -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