Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2006-01-24 21:57:19 +0000
committerMichael Rennie2006-01-24 21:57:19 +0000
commit84813cbee4c02d03425b05569afbaaae1a8a7455 (patch)
tree46a71a8a882c59593082e1b12ddfad86d3810bc6
parentdbf2837c5ec16cb49b4f7ffc581e2e2e6883a256 (diff)
downloadeclipse.platform.debug-84813cbee4c02d03425b05569afbaaae1a8a7455.tar.gz
eclipse.platform.debug-84813cbee4c02d03425b05569afbaaae1a8a7455.tar.xz
eclipse.platform.debug-84813cbee4c02d03425b05569afbaaae1a8a7455.zip
bug fix for 124257
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java8
1 files changed, 7 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 2eb16bc57..7ea82ac19 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
@@ -1679,7 +1679,8 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
MessageDialog.QUESTION,
new String[] {LaunchConfigurationsMessages.LaunchConfigurationDialog_Yes_32, LaunchConfigurationsMessages.LaunchConfigurationDialog_No_33, LaunchConfigurationsMessages.LaunchConfigurationDialog_Cancel_34}, //
0);
- if (dialog.open() == IDialogConstants.OK_ID) {
+ int ret = dialog.open();
+ if (ret == IDialogConstants.OK_ID) {
// Turn off auto select if prompting to save changes. The user
// has made another selection and we don't want a 'rename' to
// cause an auto-select.
@@ -1692,6 +1693,11 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
}
return true;
}
+ //bug 124257
+ if(ret == 1) {
+ //1 is the index in of the 'No' button, from the specified index in the dialog above
+ return true;
+ }
return false;
}

Back to the top