diff --git a/OsmAnd/src/net/osmand/plus/download/ui/popups/GoToMapFragment.java b/OsmAnd/src/net/osmand/plus/download/ui/popups/GoToMapFragment.java index 74163b0d98..e05cb2d136 100644 --- a/OsmAnd/src/net/osmand/plus/download/ui/popups/GoToMapFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/ui/popups/GoToMapFragment.java @@ -72,6 +72,9 @@ public class GoToMapFragment extends DialogFragment { closeImageButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { + if(getActivity() instanceof DownloadActivity) { + ((DownloadActivity) getActivity()).setDownloadItem(null); + } dismiss(); } });