mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug #206380 : Managed build displays duplicate build configs when selecting multiple projects
This commit is contained in:
parent
b047d952b2
commit
811b4049aa
1 changed files with 4 additions and 2 deletions
|
@ -72,9 +72,11 @@ public class ChangeBuildConfigActionBase {
|
||||||
String sActiveConfig = null;
|
String sActiveConfig = null;
|
||||||
// Store names and detect active configuration
|
// Store names and detect active configuration
|
||||||
for (int i=0; i<cfgDescs.length; i++) {
|
for (int i=0; i<cfgDescs.length; i++) {
|
||||||
configNames.add(cfgDescs[i].getName());
|
String s = cfgDescs[i].getName();
|
||||||
|
if (!configNames.contains(s))
|
||||||
|
configNames.add(s);
|
||||||
if (cfgDescs[i].isActive())
|
if (cfgDescs[i].isActive())
|
||||||
sActiveConfig = cfgDescs[i].getName();
|
sActiveConfig = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check whether all projects have the same active configuration
|
// Check whether all projects have the same active configuration
|
||||||
|
|
Loading…
Add table
Reference in a new issue