diff options
author | rsudev <rasch@munin-soft.de> | 2012-08-22 12:43:19 -0700 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2012-08-22 12:43:19 -0700 |
commit | 01011dff9ff9b88214f3caca1674b9079e51a595 (patch) | |
tree | ed25021379533cae63e986459cc47e7d48d0d6d3 /main/src | |
parent | 04e50804876537dd598063cd1492d03711159d08 (diff) | |
parent | b183f329c09d0ddc4d40edc5d52bf89b2f10d789 (diff) | |
download | cgeo-01011dff9ff9b88214f3caca1674b9079e51a595.zip cgeo-01011dff9ff9b88214f3caca1674b9079e51a595.tar.gz cgeo-01011dff9ff9b88214f3caca1674b9079e51a595.tar.bz2 |
Merge pull request #1971 from campbeb/fix1970
Set live map mode in settings when opening map - Fixes #1970
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index c4d2192..d2910c4 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -389,6 +389,8 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto waypointTypeIntent = WaypointType.findById(extras.getString(EXTRAS_WPTTYPE)); mapStateIntent = extras.getIntArray(EXTRAS_MAPSTATE); mapTitle = extras.getString(EXTRAS_MAP_TITLE); + + Settings.setLiveMap(mapMode == MapMode.LIVE_ONLINE ? true : false); } else { mapMode = Settings.isLiveMap() ? MapMode.LIVE_ONLINE : MapMode.LIVE_OFFLINE; |