From 83215d47a31f75830ea788652411df4847e376fb Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Fri, 3 Nov 2017 18:20:22 +0200 Subject: [PATCH] Clear button clears all inputs --- .../osmand/plus/mapmarkers/CoordinateInputDialogFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java index 15838b7bea..e9413fcf2d 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputDialogFragment.java @@ -293,7 +293,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm EditText focusedEditText = (EditText) focusedView; switch (i) { case CLEAR_BUTTON_POSITION: - focusedEditText.setText(""); + clearInputs(); break; case BACKSPACE_BUTTON_POSITION: String str = focusedEditText.getText().toString();