Fix refactoring SelectGpxTask->GpxSelectionHelper

This commit is contained in:
Dima-1 2020-02-19 15:07:57 +02:00
parent c774bd1fc5
commit ab8a90fac3

View file

@ -202,7 +202,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment implement
public void onPause() { public void onPause() {
super.onPause(); super.onPause();
updateEnable = false; updateEnable = false;
if (operationTask != null && !(operationTask instanceof SelectGpxTask)) { if (operationTask != null) {
operationTask.cancel(true); operationTask.cancel(true);
} }
if (actionMode != null) { if (actionMode != null) {