diff options
| author | Bananeweizen <Bananeweizen@gmx.de> | 2013-06-14 21:20:52 -0700 |
|---|---|---|
| committer | Bananeweizen <Bananeweizen@gmx.de> | 2013-06-14 21:20:52 -0700 |
| commit | 3d41a7c9b48fea09d6cc74cd96fa1a13b777eeb2 (patch) | |
| tree | 53dcfe6c7af110c5575e1a12bb222348ce9863e5 /main/src/cgeo/geocaching/Geocache.java | |
| parent | 45ad8a3ee4498abc0bab3cf87fb40f5e154071f9 (diff) | |
| parent | 947df888d1b90c24a5c0d18d0ed9a2eed73868ab (diff) | |
| download | cgeo-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.java | 5 |
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()) { |
