mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
Avoid odd NPE killing all the SystemView
This commit is contained in:
parent
10225d8aee
commit
fb44e49dfb
1 changed files with 1 additions and 1 deletions
|
@ -3508,7 +3508,7 @@ public class SystemView extends SafeTreeViewer
|
|||
((TreeItem) item).setExpanded(true);
|
||||
if (debug) System.out.println("Re-Expanded RemoteItem: " + itemToExpand.remoteName); //$NON-NLS-1$
|
||||
} else if (debug) System.out.println("Re-Expand of RemoteItem '" + itemToExpand.remoteName + "' failed. Not found"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
} else {
|
||||
} else if (itemToExpand.data!=null) {
|
||||
setExpandedState(itemToExpand.data, true);
|
||||
if (debug) System.out.println("Re-Expanded non-remote Item: " + itemToExpand.data); //$NON-NLS-1$
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue