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
committerIlya Grechuhin <i.grechuhin@gmail.com>2017-12-14 14:10:18 +0300
commit8ddbacffd5aa6f7100e40a64a4b2164ce654be00 (patch)
tree4a71e522419c21451e8a5c5619d7d519aa7ed0b4 /indexer/osm_editor.cpp
parentff96e9f4977cbb40e3efe892144d0287fc7ce1f6 (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 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."));