Fix for also storing 'r1_fit' to cdp even though it is set to False.
bug #22541(https://gna.org/bugs/?22541): The R1 fit flag does not work in the GUI.
Authored by: tlinnet 2014-08-29
Parent: [r25458]
Child: [r25460]