Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6db8ce7be9
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