[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 <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn
2025-09-11 16:43:40 +04:00
committed by Konstantin Pastbin
parent d1f817c3e6
commit 6cf791580f

View File

@@ -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();