nav: Only recompute when onroad (#21797)

old-commit-hash: c09cff23aa
commatwo_master
Willem Melching 4 years ago committed by GitHub
parent 18421ab6d7
commit 3267bd5c14
  1. 4
      selfdrive/ui/qt/maps/map.cc

@ -259,6 +259,10 @@ static float get_time_typical(const QGeoRouteSegment &segment) {
void MapWindow::recomputeRoute() {
if (!QUIState::ui_state.scene.started) {
return;
}
// Retry all timed out requests
if (!m_map.isNull()) {
m_map->connectionEstablished();

Loading…
Cancel
Save