IDEMPIERE-5658: NPE CompositeADTabbox.onTabSelectionChangedEcho (#1767)
https://idempiere.atlassian.net/browse/IDEMPIERE-5658
This commit is contained in:
parent
3cb7d395e1
commit
24ee2a1a3f
|
@ -755,7 +755,7 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
setDetailPaneStatusMessage(msg, false);
|
setDetailPaneStatusMessage(msg, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selectDetailPanel.getGridTab().isTreeTab()) {
|
if (selectDetailPanel.getGridTab().isTreeTab() && selectDetailPanel.getTreePanel() != null) {
|
||||||
if (selectDetailPanel.getGridTab().getTreeDisplayedOn().equals(MTab.TREEDISPLAYEDON_MasterTab))
|
if (selectDetailPanel.getGridTab().getTreeDisplayedOn().equals(MTab.TREEDISPLAYEDON_MasterTab))
|
||||||
selectDetailPanel.getTreePanel().getParent().setVisible(false);
|
selectDetailPanel.getTreePanel().getParent().setVisible(false);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue