* Wrong behavior of non-automatic commit
Let zkwebui behave samely as swing Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2870364
This commit is contained in:
parent
b806fd9e49
commit
fc169204e1
|
@ -888,7 +888,16 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
|||
}
|
||||
}
|
||||
else // Don't save
|
||||
curTab.dataIgnore();
|
||||
{
|
||||
int newRecord= curTab.getTableModel().getNewRow(); //VOSS COM
|
||||
|
||||
if( newRecord == -1)
|
||||
curTab.dataIgnore();
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else // new record, but nothing changed
|
||||
curTab.dataIgnore();
|
||||
|
|
Loading…
Reference in New Issue