Clear only current input

This commit is contained in:
PavelRatushnyi 2017-11-07 20:20:57 +02:00
parent 287e32ba81
commit 8285969ca9

View file

@ -288,7 +288,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
EditText focusedEditText = (EditText) focusedView;
switch (i) {
case CLEAR_BUTTON_POSITION:
clearInputs();
focusedEditText.setText("");
break;
case BACKSPACE_BUTTON_POSITION:
String str = focusedEditText.getText().toString();