minor - comments.
This commit is contained in:
parent
876ae1ff81
commit
d128fdf5a5
|
@ -1079,9 +1079,10 @@ DataStatusListener, IADTabpanel, VetoableChangeListener
|
||||||
// Save Confirmation dialog MTable-RowSave
|
// Save Confirmation dialog MTable-RowSave
|
||||||
if (e.getPropertyName().equals(GridTable.PROPERTY))
|
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)
|
if (m_vetoActive)
|
||||||
{
|
{
|
||||||
|
//ignore
|
||||||
m_vetoActive = false;
|
m_vetoActive = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1090,6 +1091,7 @@ DataStatusListener, IADTabpanel, VetoableChangeListener
|
||||||
if (!FDialog.ask(getWindowNo(), this, "SaveChanges?", gridTab.getCommitWarning()))
|
if (!FDialog.ask(getWindowNo(), this, "SaveChanges?", gridTab.getCommitWarning()))
|
||||||
{
|
{
|
||||||
m_vetoActive = true;
|
m_vetoActive = true;
|
||||||
|
System.out.println("throw PropertyVetoException ");
|
||||||
throw new PropertyVetoException ("UserDeniedSave", e);
|
throw new PropertyVetoException ("UserDeniedSave", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue