forked from organicmaps/organicmaps
[editor] Correctly clear old error status on success.
This commit is contained in:
parent
215d031d2e
commit
5b52f23f68
1 changed files with 1 additions and 0 deletions
|
@ -639,6 +639,7 @@ void Editor::UploadChanges(string const & key, string const & secret, TChangeset
|
|||
changeset.ModifyNode(osmFeature);
|
||||
fti.m_uploadStatus = kUploaded;
|
||||
fti.m_uploadAttemptTimestamp = time(nullptr);
|
||||
fti.m_uploadError.clear();
|
||||
++uploadedFeaturesCount;
|
||||
}
|
||||
catch (ChangesetWrapper::OsmObjectWasDeletedException const & ex)
|
||||
|
|
Loading…
Add table
Reference in a new issue