aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
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()) {