diff options
author | SammysHP <sven@sammyshp.de> | 2012-11-09 06:36:34 -0800 |
---|---|---|
committer | SammysHP <sven@sammyshp.de> | 2012-11-09 06:36:34 -0800 |
commit | 4d7602d189f5fcee220161ebb660bb29d56de8a3 (patch) | |
tree | fb551ddca26716a1a189c2688ee3c56d037f58f5 | |
parent | 3aca465e49cc3bce85a29e47720bdd67f88c45e3 (diff) | |
parent | f447982aec0f647bb75a8f88d16cad774afd8f29 (diff) | |
download | cgeo-4d7602d189f5fcee220161ebb660bb29d56de8a3.zip cgeo-4d7602d189f5fcee220161ebb660bb29d56de8a3.tar.gz cgeo-4d7602d189f5fcee220161ebb660bb29d56de8a3.tar.bz2 |
Merge pull request #2152 from Portree-Kid/master-12
FC when searchResult null
-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); + } } }; |