From 8ddbacffd5aa6f7100e40a64a4b2164ce654be00 Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Mon, 4 Dec 2017 18:27:22 +0300 Subject: [PATCH] [editor] call LoadMapEdits before uploading changes --- indexer/osm_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index b294c2b975..dbbbe0ab6f 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -676,6 +676,9 @@ void Editor::UploadChanges(string const & key, string const & secret, TChangeset if (m_notes->NotUploadedNotesCount()) UploadNotes(key, secret); + // We need to be sure edits will be applied for correct features (all features are migrated). + LoadMapEdits(); + if (!HaveMapEditsToUpload()) { LOG(LDEBUG, ("There are no local edits to upload."));