Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2010-02-12 03:31:14 +0000
committerAndrew Gvozdev2010-02-12 03:31:14 +0000
commit6bb85027be5838ca3c3ca5c9c7174ccab67f4e1f (patch)
treee570a00589e18f531686931c940dc08531885005
parent3956d5d6e73981f1062f00cbd50ccc942c0308ed (diff)
downloadorg.eclipse.cdt-6bb85027be5838ca3c3ca5c9c7174ccab67f4e1f.tar.gz
org.eclipse.cdt-6bb85027be5838ca3c3ca5c9c7174ccab67f4e1f.tar.xz
org.eclipse.cdt-6bb85027be5838ca3c3ca5c9c7174ccab67f4e1f.zip
bug 251972: [project] Problem adding a symbol for ALL configurations
Patch from Mario Pierro
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java
index 874812e16ca..83e8ae654e4 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java
@@ -600,7 +600,7 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab {
if (!toAllCfgs && !(cur_cfg.equals(rcfg)))
continue;
for (ICLanguageSetting l : getLangSetting(rcfg)) {
- if (id == l.getName() || toAllLang) {
+ if (toAllLang || id == l.getName() || (id != null && id.equals(l.getName()))) {
List<ICLanguageSettingEntry> lst = l.getSettingEntriesList(getKind());
lst.add(ent);
l.setSettingEntries(getKind(), lst);

Back to the top