IDEMPIERE-5666 - fix NPE on refreshing report (#1784)

This commit is contained in:
Peter Takács 2023-04-18 08:53:47 +02:00 committed by GitHub
parent 76daedf6ad
commit f6d89ffe26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1393,6 +1393,8 @@ public class ZkReportViewer extends Window implements EventListener<Event>, IRep
Object pp = li.getValue(); Object pp = li.getValue();
if (pp == null) if (pp == null)
return; return;
setTabOnCloseHandler();
// //
MPrintFormat pf = null; MPrintFormat pf = null;
int AD_PrintFormat_ID = Integer.valueOf(pp.toString()); int AD_PrintFormat_ID = Integer.valueOf(pp.toString());