diff options
| author | mucek4 <tomaz@gorenc.org> | 2011-08-10 09:44:08 +0200 |
|---|---|---|
| committer | mucek4 <tomaz@gorenc.org> | 2011-08-10 09:44:08 +0200 |
| commit | 42e4da93bc86da6bbf43fe926ede0c41034b13a9 (patch) | |
| tree | 86b07afb18559f49604229417f45b811fc60c238 /src/cgeo/geocaching/cgCache.java | |
| parent | c0ec739bd929534b3043932f8ab622758a257bf9 (diff) | |
| download | cgeo-42e4da93bc86da6bbf43fe926ede0c41034b13a9.zip cgeo-42e4da93bc86da6bbf43fe926ede0c41034b13a9.tar.gz cgeo-42e4da93bc86da6bbf43fe926ede0c41034b13a9.tar.bz2 | |
Personal note display
Diffstat (limited to 'src/cgeo/geocaching/cgCache.java')
| -rw-r--r-- | src/cgeo/geocaching/cgCache.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgeo/geocaching/cgCache.java b/src/cgeo/geocaching/cgCache.java index df3eabc..eb2b42d 100644 --- a/src/cgeo/geocaching/cgCache.java +++ b/src/cgeo/geocaching/cgCache.java @@ -39,6 +39,7 @@ public class cgCache { public Double longitude = null; public boolean reliableLatLon = false; public Double elevation = null; + public String personalNote = null; public String shortdesc = ""; public String description = ""; public boolean disabled = false; @@ -173,6 +174,9 @@ public class cgCache { if (elevation == null) { elevation = oldCache.elevation; } + if (personalNote == null || personalNote.length() == 0) { + personalNote = oldCache.personalNote; + } if (shortdesc == null || shortdesc.length() == 0) { shortdesc = oldCache.shortdesc; } |
