diff --git a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java index 80213355ca..945d0c58fc 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java @@ -202,7 +202,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment implement public void onPause() { super.onPause(); updateEnable = false; - if (operationTask != null && !(operationTask instanceof SelectGpxTask)) { + if (operationTask != null) { operationTask.cancel(true); } if (actionMode != null) {