mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 14:45:57 +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)){
|
if (parentName.equals(itemToExpand.remoteName)){
|
||||||
// same item
|
// same item
|
||||||
}
|
}
|
||||||
else if (itemToExpand.remoteName.startsWith(parentName)){
|
else if (itemToExpand.remoteName != null && itemToExpand.remoteName.startsWith(parentName)){
|
||||||
// child item
|
// child item
|
||||||
subChildren.add(itemToExpand);
|
subChildren.add(itemToExpand);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue