Try to avoid npe #5496
This commit is contained in:
parent
c503c78c70
commit
86376c9ed8
1 changed files with 3 additions and 0 deletions
|
@ -183,6 +183,9 @@ public class FavoritePointEditorFragment extends PointEditorFragment {
|
||||||
} else {
|
} else {
|
||||||
helper.editFavouriteName(favorite, name, category, description);
|
helper.editFavouriteName(favorite, name, category, description);
|
||||||
}
|
}
|
||||||
|
if(getMapActivity() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
getMapActivity().refreshMap();
|
getMapActivity().refreshMap();
|
||||||
if (needDismiss) {
|
if (needDismiss) {
|
||||||
dismiss(false);
|
dismiss(false);
|
||||||
|
|
Loading…
Reference in a new issue