[ 1892439 ] Callout not invoke for changes to existing ASI

- previous commit introduce potential NPE
This commit is contained in:
Heng Sin Low 2008-02-13 06:45:41 +00:00
parent 95db1b9d11
commit 294f4f87ed
1 changed files with 5 additions and 2 deletions

View File

@ -405,8 +405,11 @@ public class VPAttribute extends JComponent
{
log.log(Level.SEVERE, "", pve);
}
if (M_AttributeSetInstance_ID == oldValue)
m_GridTab.processFieldChange(m_GridField); // fire value changed
if (M_AttributeSetInstance_ID == oldValue && m_GridTab != null && m_GridField != null)
{
// force Change - user does not realize that embedded object is already saved.
m_GridTab.processFieldChange(m_GridField);
}
} // change
m_button.setEnabled(true);
requestFocus();