IDEMPIERE-604 Error if window has more than 1000 rows. GridTab.getCurrentRow() should be a read only getter that doesn't modify the m_currentrow pointer.
This commit is contained in:
parent
96630a54fc
commit
0fa32d3826
|
@ -2284,8 +2284,6 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
*/
|
*/
|
||||||
public int getCurrentRow()
|
public int getCurrentRow()
|
||||||
{
|
{
|
||||||
if (m_currentRow != verifyRow(m_currentRow))
|
|
||||||
setCurrentRow(m_mTable.getRowCount()-1, true);
|
|
||||||
return m_currentRow;
|
return m_currentRow;
|
||||||
} // getCurrentRow
|
} // getCurrentRow
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue