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