diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-04-28 12:58:03 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-05-01 10:28:03 +0300 |
commit | 1dfe2ed358c05fc6fb6172de6e36d239d7bbe845 (patch) | |
tree | aff9c4ed1c87df0d69cefff366fed7db977c2f2a /indexer/osm_editor.cpp | |
parent | b20071e620cf7fa13fb69165751c6a1af9f0a8d1 (diff) |
[editor] Called invalidate after roll back changes.
Diffstat (limited to 'indexer/osm_editor.cpp')
-rw-r--r-- | indexer/osm_editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indexer/osm_editor.cpp b/indexer/osm_editor.cpp index 05fbdec043..11cca69a57 100644 --- a/indexer/osm_editor.cpp +++ b/indexer/osm_editor.cpp @@ -313,7 +313,7 @@ void Editor::ClearAllLocalEdits() { m_features.clear(); Save(GetEditorFilePath()); - m_invalidateFn(); + Invalidate(); } Editor::FeatureStatus Editor::GetFeatureStatus(MwmSet::MwmId const & mwmId, uint32_t index) const @@ -473,6 +473,7 @@ bool Editor::RollBackChanges(FeatureID const & fid) return false; RemoveFeatureFromStorageIfExists(fid.m_mwmId, fid.m_index); + Invalidate(); return true; } |