Fix another NPE.
This commit is contained in:
parent
f4bafc6260
commit
60fbb1eeba
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ public class WizardDialog extends DialogFragment implements OnClickListener, Com
|
||||||
Double c_cob = 0d;
|
Double c_cob = 0d;
|
||||||
if (cobCheckbox.isChecked()) {
|
if (cobCheckbox.isChecked()) {
|
||||||
CobInfo cobInfo = IobCobCalculatorPlugin.getPlugin().getCobInfo(false, "Wizard COB");
|
CobInfo cobInfo = IobCobCalculatorPlugin.getPlugin().getCobInfo(false, "Wizard COB");
|
||||||
if (cobInfo != null)
|
if (cobInfo != null && cobInfo.displayCob != null)
|
||||||
c_cob = cobInfo.displayCob;
|
c_cob = cobInfo.displayCob;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue