From 6cf791580f1f33172af493df8f68256fbd7ff6d8 Mon Sep 17 00:00:00 2001 From: Kiryl Kaveryn Date: Thu, 11 Sep 2025 16:43:40 +0400 Subject: [PATCH] [map] Remove `DeactivateMapSelection` on Save osm edits The call of `DeactivateMapSelection` is redundant because it try to close the current PP. It produces buggy behaviour on iOS the PP is closed and does not have time to open. The PP should be only be updated using the `ActivateMapSelection` Signed-off-by: Kiryl Kaveryn --- libs/map/framework.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/map/framework.cpp b/libs/map/framework.cpp index ba683261f..15248e7fc 100644 --- a/libs/map/framework.cpp +++ b/libs/map/framework.cpp @@ -3072,10 +3072,6 @@ osm::Editor::SaveResult Framework::SaveEditedMapObject(osm::EditableMapObject em auto const result = osm::Editor::Instance().SaveEditedFeature(emo); - // Automatically select newly created and edited objects. - if (m_currentPlacePageInfo) - DeactivateMapSelection(); - place_page::BuildInfo info; info.m_mercator = emo.GetMercator(); info.m_featureId = emo.GetID();