IDEMPIERE-5658: NPE CompositeADTabbox.onTabSelectionChangedEcho (#1767)

https://idempiere.atlassian.net/browse/IDEMPIERE-5658
This commit is contained in:
Nicolas Micoud 2023-04-03 10:51:51 +02:00 committed by GitHub
parent 3cb7d395e1
commit 24ee2a1a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -755,7 +755,7 @@ public class CompositeADTabbox extends AbstractADTabbox
setDetailPaneStatusMessage(msg, false);
}
if (selectDetailPanel.getGridTab().isTreeTab()) {
if (selectDetailPanel.getGridTab().isTreeTab() && selectDetailPanel.getTreePanel() != null) {
if (selectDetailPanel.getGridTab().getTreeDisplayedOn().equals(MTab.TREEDISPLAYEDON_MasterTab))
selectDetailPanel.getTreePanel().getParent().setVisible(false);
else