diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index 705246f1ff..d0b348fb0d 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -556,10 +556,10 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm @Override public void onSaveInstanceState(Bundle outState) { + super.onSaveInstanceState(outState); if (selectedWpt != null) { outState.putInt(SELECTED_POINT_KEY, adapter.getItemPosition(selectedWpt)); } - super.onSaveInstanceState(outState); } private void scrollToLastPoint() {