Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian de Alwis2018-03-08 22:32:42 -0500
committerBrian de Alwis2018-03-08 22:32:42 -0500
commit4b22253637468e09fb840a0f0530b9c087236b30 (patch)
tree7572974a0c890781a7de525bf5fb31ae663cd938
parent56108cf1144fe3fcd36d4cd1e3e9334d42ac1c59 (diff)
downloadeclipse.platform.debug-I20180314-2000.tar.gz
eclipse.platform.debug-I20180314-2000.tar.xz
eclipse.platform.debug-I20180314-2000.zip
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
index 18189cbad..7ef512afa 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
@@ -1433,7 +1433,7 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
if (getShell() != null) {
fProgressMonitorPart.getParent().setVisible(false);
fProgressMonitorPart.removeFromCancelComponent(null);
- if (fLastControl != null) {
+ if (fLastControl != null && !fLastControl.isDisposed()) {
fLastControl.setFocus();
}
}

Back to the top