Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjszursze2002-06-05 17:31:31 -0400
committerjszursze2002-06-05 17:31:31 -0400
commit893e2f0698911043dd03614c1a43e52bceef944d (patch)
tree4fc4d6e7dc7deb1036b2b1444adb64b84069de5f /org.eclipse.debug.ui
parentc5d6516cce4c92dd2be69399bd93aa0eb0495312 (diff)
downloadeclipse.platform.debug-893e2f0698911043dd03614c1a43e52bceef944d.tar.gz
eclipse.platform.debug-893e2f0698911043dd03614c1a43e52bceef944d.tar.xz
eclipse.platform.debug-893e2f0698911043dd03614c1a43e52bceef944d.zip
fix for 19170
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java
index dd80d45df..9eb107746 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java
@@ -2113,10 +2113,11 @@ public class LaunchConfigurationDialog extends TitleAreaDialog
*/
protected void handleClosePressed() {
if (canDiscardCurrentConfig()) {
+ disposeExistingTabs();
cancelPressed();
}
}
-
+
/**
* Notification that the 'Apply' button has been pressed
*/
@@ -2216,6 +2217,7 @@ public class LaunchConfigurationDialog extends TitleAreaDialog
DebugUIPlugin.log(e);
}
}
+ disposeExistingTabs();
close();
} else {
getShell().setFocus();

Back to the top