From 4a323d16f49e40f16998ee3d0a23dc650a3d2d1c Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Fri, 4 Mar 2016 14:13:56 +0300 Subject: [PATCH] [ios] Updating place pace after editing was implemented. --- iphone/Maps/Classes/Editor/MWMEditorViewController.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/Editor/MWMEditorViewController.mm b/iphone/Maps/Classes/Editor/MWMEditorViewController.mm index 433464c273..82958e06e8 100644 --- a/iphone/Maps/Classes/Editor/MWMEditorViewController.mm +++ b/iphone/Maps/Classes/Editor/MWMEditorViewController.mm @@ -154,13 +154,15 @@ NSString * reuseIdentifier(MWMPlacePageCellType cellType) - (void)onSave { - switch (GetFramework().SaveEditedMapObject(m_mapObject)) + auto & f = GetFramework(); + switch (f.SaveEditedMapObject(m_mapObject)) { case osm::Editor::NothingWasChanged: break; case osm::Editor::SavedSuccessfully: [[Statistics instance] logEvent:kStatEventName(kStatEdit, kStatSave)]; osm_auth_ios::AuthorizationSetNeedCheck(YES); + f.UpdatePlacePageInfoForCurrentSelection(); break; case osm::Editor::NoFreeSpaceError: // TODO(Vlad): Show error dialog.