forked from organicmaps/organicmaps
Set up country id after editing.
This commit is contained in:
parent
30a5457703
commit
22fb94d5a3
1 changed files with 2 additions and 0 deletions
|
@ -2110,7 +2110,9 @@ void Framework::UpdatePlacePageInfoForCurrentSelection()
|
|||
return;
|
||||
|
||||
place_page::Info info;
|
||||
|
||||
df::SelectionShape::ESelectedObject const obj = OnTapEventImpl(*m_lastTapEvent, info);
|
||||
info.m_countryId = m_infoGetter->GetRegionCountryId(info.GetMercator());
|
||||
if (obj != df::SelectionShape::OBJECT_EMPTY)
|
||||
ActivateMapSelection(false, obj, info);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue