Return true if gpx removed or hided

This commit is contained in:
Alexander Sytnyk 2018-01-30 15:26:33 +02:00
parent f58c95d70a
commit 0193434247

View file

@ -1113,6 +1113,7 @@ public class OsmandAidlApi {
if (selectedGpxFile != null) {
app.getSelectedGpxHelper().selectGpxFile(selectedGpxFile.getGpxFile(), false, false);
refreshMap();
return true;
}
}
return false;
@ -1144,6 +1145,7 @@ public class OsmandAidlApi {
if (item != null && item.isApiImported()) {
Algorithms.removeAllFiles(f);
app.getGpxDatabase().remove(f);
return true;
}
}
}