IDEMPIERE-3433 Info Window error when navigating to last page and LoadPageNum=N
This commit is contained in:
parent
0154540290
commit
1f747fb0b3
|
@ -1779,6 +1779,11 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
||||||
{
|
{
|
||||||
updateListSelected();
|
updateListSelected();
|
||||||
int pgNo = paging.getActivePage();
|
int pgNo = paging.getActivePage();
|
||||||
|
if (pgNo == paging.getPageCount()-1 && !isLoadPageNumber()) {
|
||||||
|
testCount();
|
||||||
|
paging.setTotalSize(m_count);
|
||||||
|
pgNo = paging.getActivePage();
|
||||||
|
}
|
||||||
|
|
||||||
if (pageNo != pgNo)
|
if (pageNo != pgNo)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue