IDEMPIERE-2935 New record on GridMode error on fields with DisplayLogic

This commit is contained in:
Diego Ruiz 2015-11-13 09:58:51 -05:00
parent 4b9b980fb3
commit 5d853ce776
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ public class GridTabDataBinder implements ValueChangeListener {
Grid listBox = (Grid) editor.getComponent().getParent().getParent().getParent().getParent();
RowRenderer<Object[]> renderer = listBox.getRowRenderer();
GridTabRowRenderer gtr = (GridTabRowRenderer)renderer;
gtr.checkDependants(dependants);
if( gtr != null )
gtr.checkDependants(dependants);
}
}