summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Beauchamp2013-10-07 10:05:16 (EDT)
committer Sergey Prigogin2013-10-07 13:26:01 (EDT)
commite2661d99930f9dbbfde5c8b5a096176c720d0044 (patch)
tree9d7d013ddba5ed3d7a4f5c1bb6c52386e4604ea7
parentcc0bb2b375454faf8a0b0c47ff74f6708a5134e4 (diff)
downloadorg.eclipse.cdt-e2661d99930f9dbbfde5c8b5a096176c720d0044.zip
org.eclipse.cdt-e2661d99930f9dbbfde5c8b5a096176c720d0044.tar.gz
org.eclipse.cdt-e2661d99930f9dbbfde5c8b5a096176c720d0044.tar.bz2
Bug 418810 - Two options are selected at the same time after clickingrefs/changes/08/17108/5
"Restore Defaults" button Change-Id: I03341f636f4fad6e129847e76953c290351773fc Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com> Reviewed-on: https://git.eclipse.org/r/17108 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java
index c26dde7..853be0f 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/SaveActionsPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 Google, Inc and others.
+ * Copyright (c) 2013 Google, Inc 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
@@ -7,6 +7,7 @@
*
* Contributors:
* Sergey Prigogin (Google) - initial API and implementation
+ * Serge Beauchamp (Freescale Semiconductor) - Bug 418810
*******************************************************************************/
package org.eclipse.cdt.internal.ui.preferences;
@@ -103,12 +104,13 @@ public class SaveActionsPreferencePage extends AbstractPreferencePage {
createConfigurationBlock(parent);
- initialize();
+ initializeFields();
return parent;
}
- private void initialize() {
- initializeFields();
+ @Override
+ protected void initializeFields() {
+ super.initializeFields();
fRadioAllLines.setSelection(!fRadioEditedLines.getSelection());
}
}