From 7abfa3e23d26e9dc6ad78426baa3511633da686c Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sun, 18 Dec 2011 23:12:56 +0100 Subject: fix: NPE with CacheType (on resuming activity) --- main/src/cgeo/geocaching/cgeocaches.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1