diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java index ec12497499..ff55189a38 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/MapMarkersHistoryFragment.java @@ -265,11 +265,21 @@ public class MapMarkersHistoryFragment extends Fragment implements MapMarkersHel @Override public void onMapMarkerChanged(MapMarker mapMarker) { - updateAdapter(); + app.runInUIThread(new Runnable() { + @Override + public void run() { + updateAdapter(); + } + }); } @Override public void onMapMarkersChanged() { - updateAdapter(); + app.runInUIThread(new Runnable() { + @Override + public void run() { + updateAdapter(); + } + }); } }