1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 291905 RefsTab control visibility incorrect when multiple configurations are selected.

This commit is contained in:
James Blackburn 2009-10-29 16:34:53 +00:00
parent ed2b0017e9
commit dab890856f

View file

@ -183,7 +183,7 @@ public class RefsTab extends AbstractCPropertyTab {
if (page.isMultiCfg()) {
setAllVisible(false, null);
} else {
if ( !usercomp.getVisible())
if (!usercomp.isVisible())
setAllVisible(true, null);
initData();
}
@ -326,11 +326,13 @@ public class RefsTab extends AbstractCPropertyTab {
// This page can be displayed for project only
@Override
public boolean canBeVisible() {
return page.isForProject() && !page.isMultiCfg();
return page.isForProject();
}
@Override
protected void performDefaults() {
if (!usercomp.isVisible())
return;
getResDesc().getConfiguration().setReferenceInfo(new HashMap<String, String>());
initData();
}