diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2011-09-08 10:45:02 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2011-09-08 11:32:18 +0200 |
| commit | 820ba2f83ddd488bc5809ce31cf0a718143a1419 (patch) | |
| tree | 82e8dc679f597706631938b24c2f6005e77608bb | |
| parent | 39ec7accd759fd60706523b366977ba371efd168 (diff) | |
| download | cgeo-820ba2f83ddd488bc5809ce31cf0a718143a1419.zip cgeo-820ba2f83ddd488bc5809ce31cf0a718143a1419.tar.gz cgeo-820ba2f83ddd488bc5809ce31cf0a718143a1419.tar.bz2 | |
At this stage, mapView can be null
| -rw-r--r-- | src/cgeo/geocaching/mapcommon/cgeomap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgeo/geocaching/mapcommon/cgeomap.java b/src/cgeo/geocaching/mapcommon/cgeomap.java index fdffe0b..047ecc2 100644 --- a/src/cgeo/geocaching/mapcommon/cgeomap.java +++ b/src/cgeo/geocaching/mapcommon/cgeomap.java @@ -793,7 +793,7 @@ public class cgeomap extends MapBase implements OnDragListener, ViewFactory { repaintRequired = true; } - if (repaintRequired) { + if (repaintRequired && mapView != null) { mapView.repaintRequired(overlayMyLoc); } |
