Issue - #6493 - App crashes when we edit the route and press X button of a point - fixed
This commit is contained in:
parent
45d8204121
commit
3700a01bd7
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ public class WaypointsFragment extends BaseOsmAndFragment implements ObservableS
|
|||
}
|
||||
|
||||
private void deleteSwipeItem(int position) {
|
||||
if (swipeDismissListener != null) {
|
||||
if (swipeDismissListener != null && position < listView.getCount()) {
|
||||
swipeDismissListener.delete(position);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue