forked from organicmaps/organicmaps
Possible crash fix.
This commit is contained in:
parent
7f24e08cce
commit
fa6328b88f
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ public class MapInfoView extends LinearLayout
|
|||
{
|
||||
final LinearLayout mGeoLayout = (LinearLayout) mBodyContainer.findViewById(R.id.info_box_geo_ref);
|
||||
|
||||
if (mGeoLayout != null)
|
||||
if (mGeoLayout != null && mMapObject != null)
|
||||
{
|
||||
if (l != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue