forked from organicmaps/organicmaps
Upload notes when staing by.
This commit is contained in:
parent
5c4e0d0cff
commit
f1433afe30
1 changed files with 3 additions and 0 deletions
|
@ -538,6 +538,9 @@ bool Editor::HaveSomethingToUpload(MwmSet::MwmId const & mwmId) const
|
|||
void Editor::UploadChanges(string const & key, string const & secret, TChangesetTags tags,
|
||||
TFinishUploadCallback callBack)
|
||||
{
|
||||
if (m_notes->UnuploadedNotesCount())
|
||||
UploadNotes(key, secret);
|
||||
|
||||
if (!HaveSomethingToUpload())
|
||||
{
|
||||
LOG(LDEBUG, ("There are no local edits to upload."));
|
||||
|
|
Loading…
Add table
Reference in a new issue