Issue #6187 - Tracks - Show on map button re-opens wrong sub-folder

(cherry picked from commit 231550951e)
This commit is contained in:
madwasp79 2019-03-14 17:04:22 +02:00
parent f17358c405
commit 49ea1c418c

View file

@ -414,7 +414,7 @@ public class MeasurementToolFragment extends BaseOsmAndFragment {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
if (editingCtx.getPointsCount() > 0) { if (editingCtx.getPointsCount() > 0) {
if (newGpxData!=null && newGpxData.getActionType() if (newGpxData != null && newGpxData.getActionType()
== NewGpxData.ActionType.EDIT_SEGMENT && editingCtx.isInSnapToRoadMode()) { == NewGpxData.ActionType.EDIT_SEGMENT && editingCtx.isInSnapToRoadMode()) {
if (mapActivity != null && measurementLayer != null) { if (mapActivity != null && measurementLayer != null) {
if (editingCtx.getPointsCount() > 0) { if (editingCtx.getPointsCount() > 0) {