mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
old-commit-hash: 576459ca4595e5baaf7db23a8873a9fb0bddd272
This commit is contained in:
@@ -116,6 +116,10 @@ void MapWindow::initLayers() {
|
||||
}
|
||||
|
||||
void MapWindow::timerUpdate() {
|
||||
if (!QUIState::ui_state.scene.started) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isVisible()) {
|
||||
update();
|
||||
}
|
||||
@@ -263,11 +267,6 @@ void MapWindow::recomputeRoute() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Retry all timed out requests
|
||||
if (!m_map.isNull()) {
|
||||
m_map->connectionEstablished();
|
||||
}
|
||||
|
||||
if (!last_position) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user