mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
[187739] need to check for null remote name when expanding
This commit is contained in:
parent
7658fb8a5b
commit
daf798e433
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ public class SystemView extends SafeTreeViewer
|
|||
if (parentName.equals(itemToExpand.remoteName)){
|
||||
// same item
|
||||
}
|
||||
else if (itemToExpand.remoteName.startsWith(parentName)){
|
||||
else if (itemToExpand.remoteName != null && itemToExpand.remoteName.startsWith(parentName)){
|
||||
// child item
|
||||
subChildren.add(itemToExpand);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue