aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
authorBananeweizen <Bananeweizen@gmx.de>2013-06-14 21:20:52 -0700
committerBananeweizen <Bananeweizen@gmx.de>2013-06-14 21:20:52 -0700
commit3d41a7c9b48fea09d6cc74cd96fa1a13b777eeb2 (patch)
tree53dcfe6c7af110c5575e1a12bb222348ce9863e5 /main/src/cgeo/geocaching/Geocache.java
parent45ad8a3ee4498abc0bab3cf87fb40f5e154071f9 (diff)
parent947df888d1b90c24a5c0d18d0ed9a2eed73868ab (diff)
downloadcgeo-3d41a7c9b48fea09d6cc74cd96fa1a13b777eeb2.zip
cgeo-3d41a7c9b48fea09d6cc74cd96fa1a13b777eeb2.tar.gz
cgeo-3d41a7c9b48fea09d6cc74cd96fa1a13b777eeb2.tar.bz2
Merge pull request #2891 from campbeb/fix2882
Fix #2882 - Clear offline log through cache object
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 781f9ff..1972c7a 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -490,6 +490,11 @@ public class Geocache implements ICache, IWaypoint {
}
}
+ public void clearOfflineLog() {
+ cgData.clearLogOffline(geocode);
+ notifyChange();
+ }
+
public List<LogType> getPossibleLogTypes() {
final List<LogType> logTypes = new ArrayList<LogType>();
if (isEventCache()) {