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
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-05-04 16:18:07 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-05-12 10:19:16 +0300
commitcad96b042b8a89fa7021fe8ad6330279205df6a5 (patch)
tree4d90695d8c7734c343985b62138c0fba98352d09 /indexer/osm_editor.cpp
parent8996684c19ec3d94d4397f24ff15b1db0693960a (diff)
Call Save in RollBackChanges.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r--indexer/osm_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp
index 9efdf432f0..d09791658f 100644
--- a/indexer/osm_editor.cpp
+++ b/indexer/osm_editor.cpp
@@ -475,7 +475,7 @@ bool Editor::RollBackChanges(FeatureID const & fid)
RemoveFeatureFromStorageIfExists(fid.m_mwmId, fid.m_index);
Invalidate();
- return true;
+ return Save(GetEditorFilePath());
}
void Editor::ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,