Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-03-15 17:23:29 +01:00
commit 1029712b23
2 changed files with 2 additions and 1 deletions

View file

@ -196,7 +196,6 @@ public class FavouritesDbHelper {
} else {
builder.setMessage(uiContext.getString(R.string.fav_point_dublicate_message, name));
}
builder.setPositiveButton(R.string.shared_string_ok, null);
p.setName(name);
return builder;
}
@ -231,6 +230,7 @@ public class FavouritesDbHelper {
++index;
}
builder.trimToSize(); // remove trailing null characters
return builder.toString();
}

View file

@ -221,6 +221,7 @@ public class FavoriteDialogs {
addFavorite(activity, point, helper);
}
});
bld.show();
} else {
addFavorite(activity, point, helper);
}