Community
Participate
Working Groups
Restore Defaults button in Codan preferences does not have any observable effect. I expected all the checkers to reset to the default state.
Created attachment 200463 [details] Patch to fix the reported problem The patch was tested in master and cdt_7_0_1 branches. If there is something in the patch that should be improved or fixed just let me know. Thanks
Anyone has tested or review my patch? Any idea if here is anything to change or if this will be applied upstream? Thanks
I will look at it thanks
Why do you set setPresentsDefaultValue(false) ?
*** cdt git genie on behalf of Otavio Pontes *** Bug 345614 - restore default button in codan preferences [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=2b1951b4cdeb9fbaca616fbc8145434655439016
It is suppose to be setPresentsDefaultValue(true); I don't know why I put false in that field. Thanks for the commit. It is working fine here.
Isn't that bug fixed? Can anyone set it as resolved?
Alena, I think this would be a good fix for 8.0.2. I can commit it to the cdt 8 branch as well if you don't mind?
Fixed in 8.0.2 also.
Verified in 8.0.2 RC1.
*** cdt git genie on behalf of Otavio Pontes *** Bug 345614 - restore default button in codan preferences [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9e260b1c8d7eddc0d6e01621fb5ebdad1ccbaad4