diff --git a/selfdrive/ui/qt/maps/map.cc b/selfdrive/ui/qt/maps/map.cc index 5e5fdb40cf..3b8668d0b7 100644 --- a/selfdrive/ui/qt/maps/map.cc +++ b/selfdrive/ui/qt/maps/map.cc @@ -131,7 +131,7 @@ void MapWindow::timerUpdate() { } } - if (sm->updated("navRoute")) { + if (sm->updated("navRoute") && (*sm)["navRoute"].getNavRoute().getCoordinates().size()) { qWarning() << "Got new navRoute from navd. Opening map:" << allow_open; // Only open the map on setting destination the first time