From 8c25a0173df5b83a9d595a59abf96d33318ae203 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Wed, 20 Jan 2016 15:58:20 +0200 Subject: [PATCH] Cross now closes SearchSelectionDialog. --- .../net/osmand/plus/liveupdates/SearchSelectionFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/liveupdates/SearchSelectionFragment.java b/OsmAnd/src/net/osmand/plus/liveupdates/SearchSelectionFragment.java index c650d6b8c9..b9272cf6e9 100644 --- a/OsmAnd/src/net/osmand/plus/liveupdates/SearchSelectionFragment.java +++ b/OsmAnd/src/net/osmand/plus/liveupdates/SearchSelectionFragment.java @@ -62,7 +62,7 @@ public abstract class SearchSelectionFragment extends BaseOsmAndDialogFragment { clearButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - searchEditText.setText(null); + dismiss(); } }); return view;