diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesService.java')
-rw-r--r-- | bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesService.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesService.java b/bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesService.java index 982974b98..18015d99d 100644 --- a/bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesService.java +++ b/bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesService.java @@ -89,6 +89,13 @@ public class PreferencesService implements IPreferencesService { return; try { internalApply(tree, filters); + // save the preferences + try { + getRootNode().node(tree.absolutePath()).flush(); + } catch (BackingStoreException e) { + throw new CoreException(createStatusError(PrefsMessages.preferences_saveProblems, e)); + } + //this typically causes a major change to the preference tree, so force string sharing lastStringSharing = 0; shareStrings(); |