[ adempiere-ZK Web Client-2787755 ] Add WindowTabPlacement user preference
This commit is contained in:
parent
39e39490c0
commit
126417c1cc
|
@ -181,8 +181,12 @@ public class ADWindowPanel extends AbstractADWindowPanel
|
||||||
@Override
|
@Override
|
||||||
public boolean initPanel(int adWindowId, MQuery query) {
|
public boolean initPanel(int adWindowId, MQuery query) {
|
||||||
boolean retValue = super.initPanel(adWindowId, query);
|
boolean retValue = super.initPanel(adWindowId, query);
|
||||||
if (adTab.getTabCount() == 1 && west != null)
|
if (adTab.getTabCount() == 1) {
|
||||||
west.setVisible(false);
|
if (west != null)
|
||||||
|
west.setVisible(false);
|
||||||
|
else if (east != null)
|
||||||
|
east.setVisible(false);
|
||||||
|
}
|
||||||
return retValue;
|
return retValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue