Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoopur Gupta2017-05-04 08:20:52 +0000
committerNoopur Gupta2017-05-04 08:20:52 +0000
commit796466c5a3838c0e98cb881c9321bd46b3c2d742 (patch)
tree044573d51501a0953c06c0cacfab2136928c89ec /org.eclipse.debug.ui
parentb115fd5bd86cacbffcbaaa7425af7cb14f792c91 (diff)
downloadeclipse.platform.debug-796466c5a3838c0e98cb881c9321bd46b3c2d742.tar.gz
eclipse.platform.debug-796466c5a3838c0e98cb881c9321bd46b3c2d742.tar.xz
eclipse.platform.debug-796466c5a3838c0e98cb881c9321bd46b3c2d742.zip
Fixed bug 516076: GVT47 : Non-externalized strings in Launch mode dropI20170504-2000
down list Change-Id: Ib0b746c8bbb8266a26116b6d50280cd1854476b2 Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationSelectionDialog.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationSelectionDialog.java
index a45644f85..ee4eb6843 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationSelectionDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationSelectionDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2016 QNX Software Systems and others.
+ * Copyright (c) 2009, 2017 QNX Software Systems 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
@@ -164,8 +164,10 @@ class GroupLaunchConfigurationSelectionDialog extends TitleAreaDialog implements
continue;
}
- if (!modes.containsKey(launchGroup.getMode())) {
- modes.put(launchGroup.getMode(), launchGroup);
+ String label = launchGroup.getLabel();
+ label = DebugUIPlugin.removeAccelerators(label);
+ if (!modes.containsKey(label)) {
+ modes.put(label, launchGroup);
}
}

Back to the top