diff options
Diffstat (limited to 'main/src')
| -rw-r--r-- | main/src/cgeo/geocaching/cgeocaches.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java index 7639faa..57fdb9c 100644 --- a/main/src/cgeo/geocaching/cgeocaches.java +++ b/main/src/cgeo/geocaching/cgeocaches.java @@ -1707,7 +1707,9 @@ public class cgeocaches extends AbstractListActivity { @Override public void handleMessage(Message msg) { cacheList.clear(); - cacheList.addAll(cachesFromSearchResult); + if (cachesFromSearchResult != null) { + cacheList.addAll(cachesFromSearchResult); + } } }; |
