IDEMPIERE-369 Master Detail layout improvements. Fixed refresh issue with tab display logic.
This commit is contained in:
parent
969e6d3bb2
commit
6da6e1c926
|
@ -386,6 +386,9 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
if (selected == i) continue;
|
if (selected == i) continue;
|
||||||
if (headerTab.getDetailPane().isTabVisible(i)) {
|
if (headerTab.getDetailPane().isTabVisible(i)) {
|
||||||
headerTab.getDetailPane().setSelectedIndex(i);
|
headerTab.getDetailPane().setSelectedIndex(i);
|
||||||
|
if (headerTab instanceof ADTabpanel) {
|
||||||
|
((ADTabpanel) headerTab).activateDetailIfVisible();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue