From 41106d0cea479bde7092fb04b5991aa17bcb9b32 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 28 Nov 2010 10:48:10 +0000 Subject: [PATCH] fix issue 216 git-svn-id: https://osmand.googlecode.com/svn/trunk@713 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8 --- OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java b/OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java index fb6bfb8faf..5ef8396374 100644 --- a/OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java +++ b/OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java @@ -115,7 +115,6 @@ public class EditPOIFilterActivity extends ListActivity { @Override public boolean onOptionsItemSelected(MenuItem item) { if (item.getItemId() == R.id.edit_filter_delete) { - EditPOIFilterActivity.this.finish(); Builder builder = new AlertDialog.Builder(this); builder.setMessage(R.string.edit_filter_delete_dialog_title); builder.setNegativeButton(R.string.default_buttons_no, null); @@ -127,6 +126,7 @@ public class EditPOIFilterActivity extends ListActivity { EditPOIFilterActivity.this, MessageFormat.format(EditPOIFilterActivity.this.getText(R.string.edit_filter_delete_message).toString(), filter.getName()), Toast.LENGTH_SHORT).show(); + EditPOIFilterActivity.this.finish(); } }