mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 03:22:07 +08:00
ui/map: hide settings with showing map (#29127)
consistent map showing behavior old-commit-hash: 13dc0325b237a378304bf2a54b66ecb501fc2bea
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user