minor - comments.

This commit is contained in:
Heng Sin Low 2009-03-20 08:59:24 +00:00
parent 876ae1ff81
commit d128fdf5a5
1 changed files with 3 additions and 1 deletions

View File

@ -1079,9 +1079,10 @@ DataStatusListener, IADTabpanel, VetoableChangeListener
// Save Confirmation dialog MTable-RowSave
if (e.getPropertyName().equals(GridTable.PROPERTY))
{
// throw new PropertyVetoException calls this method (??) again
// throw new PropertyVetoException will call this listener again to revert to old value
if (m_vetoActive)
{
//ignore
m_vetoActive = false;
return;
}
@ -1090,6 +1091,7 @@ DataStatusListener, IADTabpanel, VetoableChangeListener
if (!FDialog.ask(getWindowNo(), this, "SaveChanges?", gridTab.getCommitWarning()))
{
m_vetoActive = true;
System.out.println("throw PropertyVetoException ");
throw new PropertyVetoException ("UserDeniedSave", e);
}
}