aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeowaypointadd.java
diff options
context:
space:
mode:
authorMarco Jacob <mjacob@union06.de>2012-01-25 22:12:47 +0100
committerMarco Jacob <mjacob@union06.de>2012-01-25 22:12:47 +0100
commit167cf2ae835ea47d7458014185a6998a5657c81c (patch)
tree6d0db513164f6ca92a09a107fdfdd7d90b6268c3 /main/src/cgeo/geocaching/cgeowaypointadd.java
parent6dea5724d4115e98c3b10524e9edc6c0017d24b3 (diff)
downloadcgeo-167cf2ae835ea47d7458014185a6998a5657c81c.zip
cgeo-167cf2ae835ea47d7458014185a6998a5657c81c.tar.gz
cgeo-167cf2ae835ea47d7458014185a6998a5657c81c.tar.bz2
first approach, not yet tested
Diffstat (limited to 'main/src/cgeo/geocaching/cgeowaypointadd.java')
-rw-r--r--main/src/cgeo/geocaching/cgeowaypointadd.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeowaypointadd.java b/main/src/cgeo/geocaching/cgeowaypointadd.java
index 74aee55..66e000e 100644
--- a/main/src/cgeo/geocaching/cgeowaypointadd.java
+++ b/main/src/cgeo/geocaching/cgeowaypointadd.java
@@ -229,7 +229,8 @@ public class cgeowaypointadd extends AbstractActivity {
if (waypoint != null && waypoint.getCoords() != null) {
gp = waypoint.getCoords();
}
- cgeocoords coordsDialog = new cgeocoords(cgeowaypointadd.this, gp, geo);
+ cgCache cache = app.getCacheByGeocode(geocode);
+ cgeocoords coordsDialog = new cgeocoords(cgeowaypointadd.this, cache, gp, geo);
coordsDialog.setCancelable(true);
coordsDialog.setOnCoordinateUpdate(new cgeocoords.CoordinateUpdate() {
@Override