1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

Bug 418810 - Two options are selected at the same time after clicking

"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>
This commit is contained in:
Serge Beauchamp 2013-10-07 15:05:16 +01:00 committed by Sergey Prigogin
parent cc0bb2b375
commit e2661d9993

View file

@ -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());
}
}