Detected a bug (swing and zkwebui) where the record info doesn't show change log the first time is visited if the status bar hasn't changed

This commit is contained in:
Carlos Ruiz 2011-03-26 01:37:15 -05:00
parent ae59e247c0
commit d138fb0074
1 changed files with 3 additions and 1 deletions

View File

@ -2536,10 +2536,12 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
} }
// inform APanel/.. -> dataStatus with row updated // inform APanel/.. -> dataStatus with row updated
if (m_DataStatusEvent == null) if (m_DataStatusEvent == null) {
m_DataStatusEvent = new DataStatusEvent(this, getRowCount(), m_DataStatusEvent = new DataStatusEvent(this, getRowCount(),
m_mTable.isInserting(), // changed m_mTable.isInserting(), // changed
Env.isAutoCommit(Env.getCtx(), m_vo.WindowNo), m_mTable.isInserting()); Env.isAutoCommit(Env.getCtx(), m_vo.WindowNo), m_mTable.isInserting());
m_DataStatusEvent.AD_Table_ID = m_vo.AD_Table_ID;
}
// //
m_DataStatusEvent.setCurrentRow(m_currentRow); m_DataStatusEvent.setCurrentRow(m_currentRow);
String status = m_DataStatusEvent.getAD_Message(); String status = m_DataStatusEvent.getAD_Message();