Project: JDT
Bug 130874 [templates][preferences] Java Code Templates preferences: Cancel does not work after 'Restore Defaults'
Reported: 2006-03-08 04:54:43 | Status: verified fixed

I20060307-1315 - open preferences - change templates at Java > Code Style > Code Templates - click OK, open prefs again - click 'Restore Defaults' -> defaults restored - click Cancel => expected: restored defaults dismissed, preferences retain my changes => was: all changes lost, since 'Restore Defaults' seems to save changes

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProjectTemplateStore.java