[map] Show track's place page screen on save route automatically

It will help the user to save the track to the right place, set color and name without searching for the track in the bookmarks screen.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn
2025-06-20 17:07:39 +04:00
committed by Konstantin Pastbin
parent 1cf4ff21ec
commit 21cc2bbf52
3 changed files with 5 additions and 4 deletions

View File

@@ -1775,7 +1775,8 @@ bool Framework::IsTrackRecordingEnabled() const
void Framework::SaveRoute()
{
m_routingManager.SaveRoute();
auto const trackId = m_routingManager.SaveRoute();
ShowTrack(trackId);
}
void Framework::OnUpdateGpsTrackPointsCallback(vector<pair<size_t, location::GpsInfo>> && toAdd,