Fix #3642
This commit is contained in:
parent
006fb14afb
commit
7dfbd26cf8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue