forked from organicmaps/organicmaps
[editor] call LoadMapEdits before uploading changes
This commit is contained in:
parent
ff96e9f497
commit
8ddbacffd5
1 changed files with 3 additions and 0 deletions
|
@ -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."));
|
||||
|
|
Loading…
Add table
Reference in a new issue