forked from organicmaps/organicmaps
clear initialized map object before editing
This commit is contained in:
parent
ecc59be84f
commit
db5e601f25
1 changed files with 1 additions and 0 deletions
|
@ -2835,6 +2835,7 @@ bool Framework::GetEditableMapObject(FeatureID const & fid, osm::EditableMapObje
|
|||
|
||||
GetPlatform().SendMarketingEvent("EditorEdit_start", {});
|
||||
|
||||
emo = {};
|
||||
emo.SetFromFeatureType(ft);
|
||||
emo.SetHouseNumber(ft.GetHouseNumber());
|
||||
auto const & editor = osm::Editor::Instance();
|
||||
|
|
Loading…
Add table
Reference in a new issue