mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Bug #221678 : NPE in AbstractCPropertyTab.setAllVisible()
This commit is contained in:
parent
24820b7e12
commit
9f5355c7f6
1 changed files with 8 additions and 2 deletions
|
@ -622,8 +622,14 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
|
|||
setBackgroundText(msg);
|
||||
usercomp.setVisible(visible);
|
||||
buttoncomp.setVisible(visible);
|
||||
page.getAButton().setVisible(visible);
|
||||
page.getDButton().setVisible(visible);
|
||||
if (page != null) {
|
||||
Button b = page.getAButton();
|
||||
if (b != null)
|
||||
b.setVisible(visible);
|
||||
b = page.getDButton();
|
||||
if (b != null)
|
||||
b.setVisible(visible);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue