Merge branch 'r3.9'
This commit is contained in:
commit
1836b54b11
2 changed files with 3 additions and 0 deletions
|
@ -542,6 +542,7 @@ public class EditPoiDialogFragment extends BaseOsmAndDialogFragment {
|
|||
mapActivity.getContextMenu().showOrUpdate(
|
||||
new LatLon(point.getLatitude(), point.getLongitude()),
|
||||
plugin.getOsmEditsLayer(mapActivity).getObjectName(point), point);
|
||||
mapActivity.getMapLayers().getContextMenuLayer().updateContextMenu();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -869,6 +870,7 @@ public class EditPoiDialogFragment extends BaseOsmAndDialogFragment {
|
|||
mapActivity.getContextMenu().showOrUpdate(
|
||||
new LatLon(point.getLatitude(), point.getLongitude()),
|
||||
plugin.getOsmEditsLayer(mapActivity).getObjectName(point), point);
|
||||
mapActivity.getMapLayers().getContextMenuLayer().updateContextMenu();
|
||||
}
|
||||
} else {
|
||||
Toast.makeText(activity, R.string.poi_remove_success, Toast.LENGTH_LONG)
|
||||
|
|
|
@ -387,6 +387,7 @@ public class OsmBugsLayer extends OsmandMapLayer implements IContextMenuProvider
|
|||
PointDescription pd = new PointDescription(PointDescription.POINT_TYPE_OSM_BUG, obj.local.getText());
|
||||
activity.getContextMenu().show(new LatLon(obj.local.getLatitude(), obj.local.getLongitude()),
|
||||
pd, obj.local);
|
||||
activity.getMapLayers().getContextMenuLayer().updateContextMenu();
|
||||
}
|
||||
} else {
|
||||
if (action == Action.REOPEN) {
|
||||
|
|
Loading…
Reference in a new issue