mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
nav: Only recompute when onroad (#21797)
old-commit-hash: c09cff23aa0a69063edb168afcdb8e1212bb0e19
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