Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-04-11 10:59:52 +02:00
commit 6db8ce7be9

View file

@ -251,7 +251,7 @@ public class QuickActionListFragment extends BaseOsmAndFragment implements Quick
}
public void deleteItem(int position) {
if (position == -1)
if (position == -1 || position >= itemsList.size())
return;
itemsList.remove(position);