IDEMPIERE-4514 Grid View Layout Bug (#339)

Fix NPE

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
This commit is contained in:
hengsin 2020-11-01 00:18:07 +08:00 committed by GitHub
parent c13dcc1d60
commit 2c5362ec1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -923,7 +923,9 @@ public class CompositeADTabbox extends AbstractADTabbox
if (tabPanel.getDesktop() != null) { if (tabPanel.getDesktop() != null) {
Executions.schedule(tabPanel.getDesktop(), e -> { Executions.schedule(tabPanel.getDesktop(), e -> {
invalidateTabPanel(tabPanel); invalidateTabPanel(tabPanel);
}, new Event("onPostActivateDetail", tabPanel)); }, new Event("onPostActivateDetail", tabPanel));
} else {
invalidateTabPanel(tabPanel);
} }
} else { } else {
invalidateTabPanel(tabPanel); invalidateTabPanel(tabPanel);