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()
|
||||
{
|
||||
if (fPaymentRule.getSelectedItem() == null)
|
||||
return;
|
||||
ValueNamePair pp = fPaymentRule.getSelectedItem().toValueNamePair();
|
||||
if (pp == null)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue