aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/LogCacheActivity.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-08-18 15:02:50 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-08-18 15:02:50 +0200
commitb2a455ce984672365aec6e1538c7fbd5b9118421 (patch)
treee2828cd936c8b9d54e972d2003c24d4d3467aad0 /main/src/cgeo/geocaching/LogCacheActivity.java
parent8938ab7801b4ba7ef231a85ef159cc4493c72c02 (diff)
downloadcgeo-b2a455ce984672365aec6e1538c7fbd5b9118421.zip
cgeo-b2a455ce984672365aec6e1538c7fbd5b9118421.tar.gz
cgeo-b2a455ce984672365aec6e1538c7fbd5b9118421.tar.bz2
fix #3138: Finds not added to history correctly
Diffstat (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java')
-rw-r--r--main/src/cgeo/geocaching/LogCacheActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java
index e11af0f..207dce5 100644
--- a/main/src/cgeo/geocaching/LogCacheActivity.java
+++ b/main/src/cgeo/geocaching/LogCacheActivity.java
@@ -545,6 +545,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia
if (typeSelected == LogType.FOUND_IT || typeSelected == LogType.ATTENDED) {
cache.setFound(true);
+ cache.setVisitedDate(new Date().getTime());
}
cgData.saveChangedCache(cache);