IDEMPIERE-6250:NPE when open SortTab (#2467)

Co-authored-by: hieplq <hieplq@debian.vn>
This commit is contained in:
hieplq 2024-09-25 20:06:22 +07:00 committed by Carlos Ruiz
parent 1051bae3d5
commit 32d7e2e96a
1 changed files with 2 additions and 1 deletions

View File

@ -1604,9 +1604,10 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
if (!detailPane.isVisible())
detailPane.setVisible(true);
tabPanel.activate(true);
} else {
} else if (tabPanel.getGridView() != null){
tabPanel.getGridView().invalidateGridView();
}
if (!tabPanel.isGridView()) {
if (detailPane.getSelectedPanel().isToggleToFormView()) {
detailPane.getSelectedPanel().afterToggle();