fix a crash

when adding a LR line if no currency is set, you would get a crash otherwise.
Merge pull request #52 from gurneyalex/8.0-fix_LR_creation_crash

fix a crash