fix saving markers with quit dialog

This commit is contained in:
Chumva 2018-06-18 17:27:37 +03:00
parent ceab6bf6fc
commit c50941b5a9

View file

@ -121,6 +121,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
if (!mapMarkers.isEmpty() && !isGpxSaved) { if (!mapMarkers.isEmpty() && !isGpxSaved) {
showQuitDialog(); showQuitDialog();
} else { } else {
saveMarkers();
dismiss(); dismiss();
} }
} }