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
path: root/qt
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-03-24 21:45:53 +0300
committerAlex Zolotarev <alex@maps.me>2016-03-24 22:01:16 +0300
commitb21a133ff472629f2aa5308bf2f30cdfd2047627 (patch)
tree0fbb136774e51ac5e82e21751110454145db6860 /qt
parent50f87a44d9277c8ba22641c5d0290c36357b30c4 (diff)
[editor] Separate editor method for map edits to upload, to avoid unnecessary upload cycle if only notes should be updated.
Diffstat (limited to 'qt')
-rw-r--r--qt/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index 2701a85239..02324bd151 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -502,7 +502,7 @@ void MainWindow::OnUploadEditsMenuItem()
else
{
auto & editor = osm::Editor::Instance();
- if (editor.HaveSomethingToUpload())
+ if (editor.HaveMapEditsOrNotesToUpload())
editor.UploadChanges(key, secret, {{"created_by", "MAPS.ME " OMIM_OS_NAME}});
}
}