Merge pull request #2956 from njohnston/double_yes_fix
Avoid double "yes" in replace favourite prompt (fixes #2955)
This commit is contained in:
commit
7d705e1af2
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class FavoriteDialogs {
|
||||||
builder.setTitle(R.string.update_existing);
|
builder.setTitle(R.string.update_existing);
|
||||||
final FavouritePoint fp = favouritesAdapter.getItem(position);
|
final FavouritePoint fp = favouritesAdapter.getItem(position);
|
||||||
builder.setMessage(activity.getString(R.string.replace_favorite_confirmation, fp.getName()));
|
builder.setMessage(activity.getString(R.string.replace_favorite_confirmation, fp.getName()));
|
||||||
builder.setNegativeButton(R.string.shared_string_yes, null);
|
builder.setNegativeButton(R.string.shared_string_no, null);
|
||||||
builder.setPositiveButton(R.string.shared_string_yes, new OnClickListener() {
|
builder.setPositiveButton(R.string.shared_string_yes, new OnClickListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue