pull/22153/head
Willem Melching 2021-09-06 16:53:09 -07:00 committed by GitHub
parent 4c37ea98b5
commit 576459ca45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -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;
}