Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2011-08-22 20:42:31 +0000
committerMichael Rennie2011-08-22 20:42:31 +0000
commitc232940c31a27733e84a55bc6a96ebc67a9e3a65 (patch)
tree786b7d6f060aaaa2161ffdb69cd1b3b54b652168 /org.eclipse.ui.externaltools
parent809b468b3a0e74116d5c07e656fdbebfe03100cd (diff)
downloadeclipse.platform.debug-c232940c31a27733e84a55bc6a96ebc67a9e3a65.tar.gz
eclipse.platform.debug-c232940c31a27733e84a55bc6a96ebc67a9e3a65.tar.xz
eclipse.platform.debug-c232940c31a27733e84a55bc6a96ebc67a9e3a65.zip
Bug 346082 - Restoring defaults on external tools preference page does not work correctly
Diffstat (limited to 'org.eclipse.ui.externaltools')
-rw-r--r--org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/ExternalToolsPreferencePage.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/ExternalToolsPreferencePage.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/ExternalToolsPreferencePage.java
index 46c8cdf0f..6c804b821 100644
--- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/ExternalToolsPreferencePage.java
+++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/ExternalToolsPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 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
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Frederic Gurr - Fixed restore default behavior (bug 346082)
*******************************************************************************/
package org.eclipse.ui.externaltools.internal.ui;
@@ -91,7 +92,7 @@ public class ExternalToolsPreferencePage extends PreferencePage implements IWork
*/
protected void performDefaults() {
promptForToolMigrationButton.setSelection(getPreferenceStore().getDefaultBoolean(IPreferenceConstants.PROMPT_FOR_TOOL_MIGRATION));
- promptForToolMigrationButton.setSelection(getPreferenceStore().getDefaultBoolean(IPreferenceConstants.PROMPT_FOR_PROJECT_MIGRATION));
+ promptForProjectMigrationButton.setSelection(getPreferenceStore().getDefaultBoolean(IPreferenceConstants.PROMPT_FOR_PROJECT_MIGRATION));
super.performDefaults();
}
}

Back to the top