mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 00:35:49 +02:00
Fix for Bug 61241 - [Search] Closing the Search view mid search causes an error
This commit is contained in:
parent
a354b64c58
commit
3f2cd224a1
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-02 Bogdan Gheorghe
|
||||||
|
|
||||||
|
Fix for Bug 61241 - [Search] Closing the Search view mid search causes an error
|
||||||
|
* src/org/eclipse/cdt/internal/ui/search/CSearchTableContentProvider.java
|
||||||
|
|
||||||
2004-06-01 Alain Magloire
|
2004-06-01 Alain Magloire
|
||||||
|
|
||||||
Format the source Hovering better.
|
Format the source Hovering better.
|
||||||
|
|
|
@ -27,6 +27,9 @@ public class CSearchTableContentProvider extends CSearchContentProvider implemen
|
||||||
}
|
}
|
||||||
|
|
||||||
public void elementsChanged(Object[] updatedElements) {
|
public void elementsChanged(Object[] updatedElements) {
|
||||||
|
if (_result == null)
|
||||||
|
return;
|
||||||
|
|
||||||
int addCount= 0;
|
int addCount= 0;
|
||||||
int removeCount= 0;
|
int removeCount= 0;
|
||||||
for (int i= 0; i < updatedElements.length; i++) {
|
for (int i= 0; i < updatedElements.length; i++) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue