[ 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); log.log(Level.SEVERE, "", pve);
} }
if (M_AttributeSetInstance_ID == oldValue) if (M_AttributeSetInstance_ID == oldValue && m_GridTab != null && m_GridField != null)
m_GridTab.processFieldChange(m_GridField); // fire value changed {
// force Change - user does not realize that embedded object is already saved.
m_GridTab.processFieldChange(m_GridField);
}
} // change } // change
m_button.setEnabled(true); m_button.setEnabled(true);
requestFocus(); requestFocus();