Set up country id after editing.

This commit is contained in:
VladiMihaylenko 2017-03-13 11:20:26 +03:00 committed by Sergey Yershov
parent 30a5457703
commit 22fb94d5a3

View file

@ -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);
}