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:
parent
ed2b0017e9
commit
dab890856f
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue