mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-04 04:12:07 +08:00
nav: Only recompute when onroad (#21797)
This commit is contained in:
@@ -259,6 +259,10 @@ static float get_time_typical(const QGeoRouteSegment &segment) {
|
||||
|
||||
|
||||
void MapWindow::recomputeRoute() {
|
||||
if (!QUIState::ui_state.scene.started) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Retry all timed out requests
|
||||
if (!m_map.isNull()) {
|
||||
m_map->connectionEstablished();
|
||||
|
||||
Reference in New Issue
Block a user