| Summary: | [Help] Restore defaults button does not read remoteHelpPreferred preference correctly. - Fix in Eclipse 3.6.1 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jim Perry <perryja> | ||||||
| Component: | User Assistance | Assignee: | Chris Goldthorpe <cgold> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cgold, ChrisAustin | ||||||
| Version: | 4.0 | ||||||||
| Target Milestone: | 3.6.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jim Perry
Created attachment 171284 [details]
Patch with one line change for correct local help preferred value
One line fix:
searchLocalHelpFirst.setSelection(!(new DefaultPreferenceFileHandler().isRemoteHelpPreferred()));
Targeting 3.6.1 Created attachment 172463 [details]
Improved patch
The previous patch was still incorrect - if the default for remoteHelpOn was false setting the defaults would always cause two of the three radio buttons to be set. This new patch works for all four possible combinations of true/false values for remoteHelpOn and remoteHelpPreferred.
Patch applied to 3.6 maintenance stream, Fixed |