forked from organicmaps/organicmaps
Clear m_edits when reload.
This commit is contained in:
parent
246c73896a
commit
b6a8335de7
1 changed files with 2 additions and 0 deletions
|
@ -174,6 +174,8 @@ void Editor::LoadMapEdits()
|
|||
|
||||
bool needRewriteEdits = false;
|
||||
|
||||
// TODO(mgsergio): synchronize access to m_features.
|
||||
m_features.clear();
|
||||
for (xml_node mwm : doc.child(kXmlRootNode).children(kXmlMwmNode))
|
||||
{
|
||||
string const mapName = mwm.attribute("name").as_string("");
|
||||
|
|
Loading…
Add table
Reference in a new issue