mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 13:35:22 +02:00
[192725] Kevin's patch for Deleting Files doesn't remove them from Search view
This commit is contained in:
parent
9ca712e072
commit
34bad9791d
1 changed files with 9 additions and 0 deletions
|
@ -146,6 +146,15 @@ public class SystemSearchTableView extends SystemTableTreeView
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the deleted object is part of an archive it might be
|
||||||
|
// visible in the search view, but not part of the result set
|
||||||
|
Widget widget = findItem(dchild);
|
||||||
|
if (widget != null)
|
||||||
|
{
|
||||||
|
Object data = widget.getData();
|
||||||
|
remove(data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue