mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
Fix: discovery pages are not updated after scope change.
This commit is contained in:
parent
d710c2c05b
commit
7f5644f01c
1 changed files with 10 additions and 0 deletions
|
@ -267,6 +267,16 @@ public class DiscoveryTab extends AbstractCBuildPropertyTab implements IBuildInf
|
|||
List profilesList = buildInfo.getProfileIdList();
|
||||
Collections.sort(profilesList, CDTListComparator.getInstance());
|
||||
visibleProfilesList = new ArrayList(profilesList.size());
|
||||
|
||||
if (realPages != null && realPages.length > 0) {
|
||||
for (int i=0; i<realPages.length; i++) {
|
||||
if (realPages[i] != null) {
|
||||
realPages[i].setVisible(false);
|
||||
realPages[i].dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
realPages = new AbstractDiscoveryPage[profilesList.size()];
|
||||
String[] labels = new String[profilesList.size()];
|
||||
String[] profiles = new String[profilesList.size()];
|
||||
|
|
Loading…
Add table
Reference in a new issue