move call to super.onSaveInstanceState to top of onSaveInstanceState
This commit is contained in:
parent
1a312dc2a9
commit
29fe47cb50
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue