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

consistent map showing behavior
This commit is contained in:
Shane Smiskol
2023-07-24 18:25:46 -07:00
committed by GitHub
parent dc25e7c3e3
commit 13dc0325b2
+1 -1
View File
@@ -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());