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