diff options
author | rsudev <rasch@munin-soft.de> | 2013-03-14 14:35:49 +0100 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2013-05-26 11:53:28 +0200 |
commit | 501e20d99421591e80ffc80c81666134004acec8 (patch) | |
tree | c71faae0d216bef08411373857e257bba038e32b /main/src/cgeo/geocaching/maps | |
parent | d906417b97a3db54c3691019f892a83558e7078b (diff) | |
download | cgeo-501e20d99421591e80ffc80c81666134004acec8.zip cgeo-501e20d99421591e80ffc80c81666134004acec8.tar.gz cgeo-501e20d99421591e80ffc80c81666134004acec8.tar.bz2 |
Implements a check-box for gc-de/activation for livemap and searches
Diffstat (limited to 'main/src/cgeo/geocaching/maps')
-rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index 0af0e6c..ea51375 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -1146,7 +1146,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto searchResult = ConnectorFactory.searchByViewport(viewport.resize(0.8), tokens); if (searchResult != null) { downloaded = true; - if (searchResult.getError() == StatusCode.NOT_LOGGED_IN) { + if (searchResult.getError() == StatusCode.NOT_LOGGED_IN && Settings.isGCConnectorActive()) { Login.login(); tokens = null; } else { |