From 576459ca4595e5baaf7db23a8873a9fb0bddd272 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 6 Sep 2021 16:53:09 -0700 Subject: [PATCH] map fixes, #22105 (#22152) --- selfdrive/ui/qt/maps/map.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/selfdrive/ui/qt/maps/map.cc b/selfdrive/ui/qt/maps/map.cc index c1e1fa1636..68f3030142 100644 --- a/selfdrive/ui/qt/maps/map.cc +++ b/selfdrive/ui/qt/maps/map.cc @@ -116,6 +116,10 @@ void MapWindow::initLayers() { } void MapWindow::timerUpdate() { + if (!QUIState::ui_state.scene.started) { + return; + } + if (isVisible()) { update(); } @@ -263,11 +267,6 @@ void MapWindow::recomputeRoute() { return; } - // Retry all timed out requests - if (!m_map.isNull()) { - m_map->connectionEstablished(); - } - if (!last_position) { return; }