Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2007-05-07 18:22:08 +0000
committerDarin Wright2007-05-07 18:22:08 +0000
commitb83c7baf53da9dfc07534f5ab910c13adb742f05 (patch)
tree9bb7a531b88ab74f9bafa77663125effa53b3510 /org.eclipse.debug.ui
parent556e2fd8abecdb46f8e4c9ce826e38542018e9d5 (diff)
downloadeclipse.platform.debug-b83c7baf53da9dfc07534f5ab910c13adb742f05.tar.gz
eclipse.platform.debug-b83c7baf53da9dfc07534f5ab910c13adb742f05.tar.xz
eclipse.platform.debug-b83c7baf53da9dfc07534f5ab910c13adb742f05.zip
Bug 184893 [launching] Restore defaults in Run/Debug settings does nothing
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/RunDebugPropertiesPage.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/RunDebugPropertiesPage.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/RunDebugPropertiesPage.java
index 6bee34172..c80ea8d43 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/RunDebugPropertiesPage.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/RunDebugPropertiesPage.java
@@ -66,7 +66,7 @@ import com.ibm.icu.text.MessageFormat;
*
* CONTEXTLAUNCHING
*
- * @since 3.3
+ * @since 3.3.0
*/
public class RunDebugPropertiesPage extends PropertyPage {
/**
@@ -314,6 +314,12 @@ public class RunDebugPropertiesPage extends PropertyPage {
protected void performDefaults() {
setErrorMessage(null);
setValid(true);
+ fOriginalCandidates.clear();
+ fOriginalCandidates = null;
+ getViewer().setInput(collectConfigCandidates(getResource()));
+ fChangedConfigurations.clear();
+ fDeletedConfigurations.clear();
+ fViewer.refresh(true, true);
super.performDefaults();
}

Back to the top