fixes #31 Context problem when parent column can be in multiple tabs
This commit is contained in:
parent
643207c0f8
commit
2b11005fc8
|
@ -150,7 +150,6 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
|
|||
if (adtab.getTabLevel() < currentLevel)
|
||||
{
|
||||
parents.add(i);
|
||||
currentLevel = adtab.getTabLevel();
|
||||
}
|
||||
}
|
||||
parents.add(0);
|
||||
|
@ -182,7 +181,8 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
|
|||
GridField[] fields = adtab.getGridTab().getFields();
|
||||
for (GridField gf : fields)
|
||||
{
|
||||
gf.updateContext();
|
||||
if (gf.getValue() != null) // preserve value of tab above if null on current tab
|
||||
gf.updateContext();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue