This commit is contained in:
Alexey Kulish 2017-04-11 11:59:23 +03:00
parent 006fb14afb
commit 7dfbd26cf8

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);