aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2011-12-18 23:12:56 +0100
committerBananeweizen <bananeweizen@gmx.de>2011-12-18 23:12:56 +0100
commit7abfa3e23d26e9dc6ad78426baa3511633da686c (patch)
tree48107a76715b0cdfacb4d8db0d4959c872cfa121
parent9bf16135cdcb5bcdac5f5ac14c69168d0b6dc360 (diff)
downloadcgeo-7abfa3e23d26e9dc6ad78426baa3511633da686c.zip
cgeo-7abfa3e23d26e9dc6ad78426baa3511633da686c.tar.gz
cgeo-7abfa3e23d26e9dc6ad78426baa3511633da686c.tar.bz2
fix: NPE with CacheType (on resuming activity)
-rw-r--r--main/src/cgeo/geocaching/cgeocaches.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java
index ee5c08a..ecd93fd 100644
--- a/main/src/cgeo/geocaching/cgeocaches.java
+++ b/main/src/cgeo/geocaching/cgeocaches.java
@@ -129,7 +129,7 @@ public class cgeocaches extends AbstractListActivity {
private String action = null;
private CacheListType type = null;
private Geopoint coords = null;
- private CacheType cacheType = null;
+ private CacheType cacheType = Settings.getCacheType();
private String keyword = null;
private String address = null;
private String username = null;