Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsentiy Milchakov <milcars@mapswithme.com>2017-12-04 18:27:22 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2017-12-04 21:29:31 +0300
commit2102054ba08d82a98f0d83f35e8ae6efd17fb779 (patch)
treeb8b08709418e56c54af0ea063eb4bc31623d7d6d /indexer/osm_editor.cpp
parent69ac865fd66a769cea59b94ed0360c5b6ddd99ff (diff)
[editor] call LoadMapEdits before uploading changes
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r--indexer/osm_editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp
index 54212349e2..979b102669 100644
--- a/indexer/osm_editor.cpp
+++ b/indexer/osm_editor.cpp
@@ -709,6 +709,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."));