Update OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java

This commit is contained in:
rogere66 2012-04-15 22:52:28 +03:00
parent af85bbddd4
commit cf20148fcf

View file

@ -112,6 +112,7 @@ public class MapActivityActions implements DialogProvider {
resources.getString(R.string.favorite_default_category));
args.putSerializable(KEY_FAVORITE, point);
final EditText editText = (EditText) dialog.findViewById(R.id.Name);
editText.requestFocus();
editText.setText(point.getName());
final AutoCompleteTextView cat = (AutoCompleteTextView) dialog.findViewById(R.id.Category);
cat.setText(point.getCategory());