diff options
author | Dani Megert | 2012-01-03 17:13:33 +0000 |
---|---|---|
committer | Dani Megert | 2012-01-03 17:13:33 +0000 |
commit | 257a6c7c822fb9ee0fe5cb6fd24d98c27b5f7ba0 (patch) | |
tree | 320f837c8f3875f379ed0d9b33d729a092407f03 | |
parent | c949d80f0dbcd3579db24de3d55babb130fb984c (diff) | |
download | eclipse.platform.text-257a6c7c822fb9ee0fe5cb6fd24d98c27b5f7ba0.tar.gz eclipse.platform.text-257a6c7c822fb9ee0fe5cb6fd24d98c27b5f7ba0.tar.xz eclipse.platform.text-257a6c7c822fb9ee0fe5cb6fd24d98c27b5f7ba0.zip |
Fixed bug 367311: [preferences] [accessibility] Restore Defaults doesv20120103-1713
not restore the enabled state of the checkbox "Enable thick caret"
-rw-r--r-- | org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AccessibilityPreferencePage.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AccessibilityPreferencePage.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AccessibilityPreferencePage.java index 7596bb84f6d..5fafdcd8b69 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AccessibilityPreferencePage.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/AccessibilityPreferencePage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -464,6 +464,11 @@ public class AccessibilityPreferencePage extends PreferencePage implements IWork initializeFields(); + for (Iterator iterator= fMasterSlaveListeners.iterator(); iterator.hasNext();) { + SelectionListener listener= (SelectionListener)iterator.next(); + listener.widgetSelected(null); + } + super.performDefaults(); } |