Fixed issue #522. Error: Crash in new file after clicking 'OK' in Point From Distance And Angle tool. --HG-- branch : develop