This commit is contained in:
Alexey Kulish 2017-04-03 15:09:45 +03:00
parent 1ce6611c81
commit 224fc350be

View file

@ -395,7 +395,7 @@ public class ShowRouteInfoDialogFragment extends DialogFragment {
gpxItem); gpxItem);
final MapRouteInfoMenu mapRouteInfoMenu = activity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu(); final MapRouteInfoMenu mapRouteInfoMenu = activity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu();
if (mapRouteInfoMenu.isVisible()) { if (MapRouteInfoMenu.isVisible()) {
// We arrived here by the route info menu. // We arrived here by the route info menu.
// First, we close it and then show the details. // First, we close it and then show the details.
mapRouteInfoMenu.setOnDismissListener(new OnDismissListener() { mapRouteInfoMenu.setOnDismissListener(new OnDismissListener() {