fixes #34 NPE on WPayPrint
This commit is contained in:
parent
4b22df1f7d
commit
9a9bfc36ee
|
@ -303,6 +303,8 @@ public class WPayPrint extends PayPrint implements IFormController, EventListene
|
||||||
*/
|
*/
|
||||||
private void loadPaymentRuleInfo()
|
private void loadPaymentRuleInfo()
|
||||||
{
|
{
|
||||||
|
if (fPaymentRule.getSelectedItem() == null)
|
||||||
|
return;
|
||||||
ValueNamePair pp = fPaymentRule.getSelectedItem().toValueNamePair();
|
ValueNamePair pp = fPaymentRule.getSelectedItem().toValueNamePair();
|
||||||
if (pp == null)
|
if (pp == null)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue