Try to avoid npe #5496

This commit is contained in:
Victor Shcherb 2018-05-26 11:36:33 +02:00
parent c907e023d3
commit bd1d5d100a

View file

@ -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);