IDEMPIERE-369 Master Detail layout improvements. Fixed refresh issue with tab display logic.

This commit is contained in:
Heng Sin Low 2013-02-05 08:51:27 +08:00
parent 969e6d3bb2
commit 6da6e1c926
1 changed files with 3 additions and 0 deletions

View File

@ -386,6 +386,9 @@ public class CompositeADTabbox extends AbstractADTabbox
if (selected == i) continue;
if (headerTab.getDetailPane().isTabVisible(i)) {
headerTab.getDetailPane().setSelectedIndex(i);
if (headerTab instanceof ADTabpanel) {
((ADTabpanel) headerTab).activateDetailIfVisible();
}
break;
}
}