mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 21:42:05 +08:00
ui/map: hide settings with showing map (#29127)
consistent map showing behavior
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