investigate 2288

This commit is contained in:
sonora 2016-02-28 14:33:16 +01:00
parent 75ef6aa715
commit 4f5a254dbb

View file

@ -314,6 +314,7 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
onItemsSwapped(stableAdapter.getActiveObjects()); onItemsSwapped(stableAdapter.getActiveObjects());
} else if (visibleType == DashboardType.MAP_MARKERS || visibleType == DashboardType.MAP_MARKERS_SELECTION) { } else if (visibleType == DashboardType.MAP_MARKERS || visibleType == DashboardType.MAP_MARKERS_SELECTION) {
updateMapMarkers(stableAdapter.getActiveObjects()); updateMapMarkers(stableAdapter.getActiveObjects());
reloadAdapter();
} }
if (stableAdapter.getActiveObjects().size() == 0) { if (stableAdapter.getActiveObjects().size() == 0) {
hideDashboard(); hideDashboard();
@ -321,10 +322,10 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
mapActivity.getMapActions().stopNavigationWithoutConfirm(); mapActivity.getMapActions().stopNavigationWithoutConfirm();
mapActivity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu().hide(); mapActivity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu().hide();
} }
} else { //} else {
if (visibleType == DashboardType.MAP_MARKERS || visibleType == DashboardType.MAP_MARKERS_SELECTION) { // if (visibleType == DashboardType.MAP_MARKERS || visibleType == DashboardType.MAP_MARKERS_SELECTION) {
reloadAdapter(); // reloadAdapter();
} // }
} }
} }
} }