IDEMPIERE-5528 Context parsing on process Parameter not considering tab no (#1656)
- Solve NPE
This commit is contained in:
parent
74fab5d940
commit
683b7a8097
|
@ -3751,7 +3751,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ProcessModalDialog dialog = new ProcessModalDialog(this, curWindowNo, adtabPanel.getGridTab().getTabNo(), pi, startWOasking);
|
ProcessModalDialog dialog;
|
||||||
|
if (adtabPanel != null && adtabPanel.getGridTab() != null)
|
||||||
|
dialog = new ProcessModalDialog(this, curWindowNo, adtabPanel.getGridTab().getTabNo(), pi, startWOasking);
|
||||||
|
else
|
||||||
|
dialog = new ProcessModalDialog(this, curWindowNo, pi, startWOasking);
|
||||||
|
|
||||||
if (dialog.isValid())
|
if (dialog.isValid())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue