mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 02:35:37 +02:00
Bug #199387 : NPE eliminated
This commit is contained in:
parent
d1c81163ba
commit
f089bbf2b4
1 changed files with 1 additions and 0 deletions
|
@ -871,6 +871,7 @@ implements
|
||||||
ICPropertyTab t = ((InternalTab)itabs.get(0)).tab;
|
ICPropertyTab t = ((InternalTab)itabs.get(0)).tab;
|
||||||
if (! t.canBeVisible())
|
if (! t.canBeVisible())
|
||||||
t.handleTabEvent(ICPropertyTab.VISIBLE, null);
|
t.handleTabEvent(ICPropertyTab.VISIBLE, null);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
boolean willAdd = false;
|
boolean willAdd = false;
|
||||||
TabItem[] ts = folder.getItems();
|
TabItem[] ts = folder.getItems();
|
||||||
|
|
Loading…
Add table
Reference in a new issue