mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[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:
@@ -3077,10 +3077,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();
|
||||
|
||||
Reference in New Issue
Block a user