[editor] call LoadMapEdits before uploading changes

This commit is contained in:
Arsentiy Milchakov 2017-12-04 18:27:22 +03:00 committed by Ilya Grechuhin
parent ff96e9f497
commit 8ddbacffd5

View file

@ -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."));