diff options
Diffstat (limited to 'main/src/cgeo/geocaching/cgeopopup.java')
| -rw-r--r-- | main/src/cgeo/geocaching/cgeopopup.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeopopup.java b/main/src/cgeo/geocaching/cgeopopup.java index 75dffb1..d207ab7 100644 --- a/main/src/cgeo/geocaching/cgeopopup.java +++ b/main/src/cgeo/geocaching/cgeopopup.java @@ -528,6 +528,7 @@ public class cgeopopup extends AbstractActivity { private void cachesAround() { if (cache == null || cache.getCoords() == null) { showToast(res.getString(R.string.err_location_unknown)); + return; } cgeocaches.startActivityCachesAround(this, cache.getCoords()); @@ -628,7 +629,6 @@ public class cgeopopup extends AbstractActivity { public void goCompass(View view) { if (cache == null || cache.getCoords() == null) { showToast(res.getString(R.string.cache_coordinates_no)); - return; } |
