This commit is contained in:
Vitaliy 2021-01-25 10:03:43 +02:00
parent 7a59d4f45e
commit be8577e5be

View file

@ -97,7 +97,7 @@ public class GpxEditDescriptionDialogFragment extends BaseOsmAndDialogFragment {
log.error(errorMessage);
}
MapActivity mapActivity = getMapActivity();
if (mapActivity == null || mapActivity.getTrackMenuFragment() == null) {
if (mapActivity != null && mapActivity.getTrackMenuFragment() != null) {
TrackMenuFragment trackMenuFragment = mapActivity.getTrackMenuFragment();
trackMenuFragment.updateContent();
}