Fixed [ 2133097 ] The dataStatusChanged event do not work rightly
http://sourceforge.net/tracker/index.php?func=detail&aid=2133097&group_id=176962&atid=879332
This commit is contained in:
parent
80fdaf1930
commit
636b1175e4
|
@ -848,8 +848,8 @@ public class GridTable extends AbstractTableModel
|
|||
m_changed = changed;
|
||||
if (!changed)
|
||||
m_rowChanged = -1;
|
||||
if (changed)
|
||||
fireDataStatusIEvent("", "");
|
||||
//if (changed)
|
||||
// fireDataStatusIEvent("", "");
|
||||
} // setChanged
|
||||
|
||||
/**
|
||||
|
|
|
@ -1019,7 +1019,11 @@ public final class APanel extends CPanel
|
|||
aLast.setEnabled(!lastRow);
|
||||
|
||||
// update Change
|
||||
|
||||
boolean changed = e.isChanged() || e.isInserting();
|
||||
|
||||
if(e.getAD_Message() != null && e.getAD_Message().equals("Saved"))
|
||||
changed = false;
|
||||
boolean readOnly = m_curTab.isReadOnly();
|
||||
boolean insertRecord = !readOnly;
|
||||
if (insertRecord)
|
||||
|
|
Loading…
Reference in New Issue