ui/map: hide settings with showing map (#29127)

consistent map showing behavior
old-commit-hash: 13dc0325b2
beeps
Shane Smiskol 2 years ago committed by GitHub
parent c7dc2ae686
commit 6d9a313f19
  1. 2
      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());

Loading…
Cancel
Save