- fixed npe when sort
This commit is contained in:
Heng Sin Low 2009-11-17 15:56:54 +00:00
parent be0aa87d66
commit 96eea5d309
1 changed files with 1 additions and 0 deletions

View File

@ -2150,6 +2150,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (msg != null && msg.equals("Sorted"))
setCurrentRow(0, true);
// set current row
m_DataStatusEvent = e; // setCurrentRow clear it, need to save again
m_DataStatusEvent.setCurrentRow(m_currentRow);
// Same row - update value
if (oldCurrentRow == m_currentRow)