parent
4c37ea98b5
commit
576459ca45
|
@ -116,6 +116,10 @@ void MapWindow::initLayers() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MapWindow::timerUpdate() {
|
void MapWindow::timerUpdate() {
|
||||||
|
if (!QUIState::ui_state.scene.started) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (isVisible()) {
|
if (isVisible()) {
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
@ -263,11 +267,6 @@ void MapWindow::recomputeRoute() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Retry all timed out requests
|
|
||||||
if (!m_map.isNull()) {
|
|
||||||
m_map->connectionEstablished();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!last_position) {
|
if (!last_position) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue