From f1433afe30890f75d21e1cbd5b8b5216824a2124 Mon Sep 17 00:00:00 2001 From: Sergey Magidovich Date: Fri, 11 Mar 2016 12:41:47 +0300 Subject: [PATCH] Upload notes when staing by. --- indexer/osm_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index bcb062d63e..a3b6abb8f3 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -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."));