mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
[187739] added !item.isDisposed() check when looking from expanded items
This commit is contained in:
parent
0ecfca3e39
commit
c1e6d73b80
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ public class SystemView extends SafeTreeViewer
|
|||
item = findFirstRemoteItemReference(itemToExpand.remoteName, itemToExpand.subsystem, itemToExpand.parentItem);
|
||||
|
||||
// if found, re-expand it
|
||||
if (item != null) {
|
||||
if (item != null && !item.isDisposed()) {
|
||||
IRSECallback callback = getCallbackForSubChildren(itemToExpand, _toExpand);
|
||||
createChildren(item, callback);
|
||||
((TreeItem) item).setExpanded(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue