IDEMPIERE-364 - Fixing IndexOutOfBoundException when user selected field removed from Grid Sequence
This commit is contained in:
parent
283d5c97e0
commit
1141bf1d6b
|
@ -173,7 +173,9 @@ public class GridPanel extends Borderlayout implements EventListener<Event>
|
||||||
int AD_Field_ID = Integer.parseInt(fieldIdStr);
|
int AD_Field_ID = Integer.parseInt(fieldIdStr);
|
||||||
for(GridField gridField : tmpFields) {
|
for(GridField gridField : tmpFields) {
|
||||||
if (gridField.getAD_Field_ID() == AD_Field_ID) {
|
if (gridField.getAD_Field_ID() == AD_Field_ID) {
|
||||||
|
if(gridField.isDisplayedGrid())
|
||||||
fieldList.add(gridField);
|
fieldList.add(gridField);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue