diff options
author | Alex Zolotarev <alex@maps.me> | 2016-03-24 21:45:53 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-03-24 22:01:16 +0300 |
commit | b21a133ff472629f2aa5308bf2f30cdfd2047627 (patch) | |
tree | 0fbb136774e51ac5e82e21751110454145db6860 /qt | |
parent | 50f87a44d9277c8ba22641c5d0290c36357b30c4 (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.cpp | 2 |
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}}); } } |