From 13dc0325b237a378304bf2a54b66ecb501fc2bea Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 24 Jul 2023 18:25:46 -0700 Subject: [PATCH] ui/map: hide settings with showing map (#29127) consistent map showing behavior --- selfdrive/ui/qt/maps/map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/maps/map.cc b/selfdrive/ui/qt/maps/map.cc index 7db5275bce..785ebdc777 100644 --- a/selfdrive/ui/qt/maps/map.cc +++ b/selfdrive/ui/qt/maps/map.cc @@ -189,10 +189,10 @@ void MapWindow::updateState(const UIState &s) { // Only open the map on setting destination the first time if (allow_open) { + emit requestSettings(false); emit requestVisible(true); // Show map on destination set/change allow_open = false; } - emit requestSettings(false); } loaded_once = loaded_once || (m_map && m_map->isFullyLoaded());