Launcher: fix setting altitude for lat/lon
https://sourceforge.net/p/flightgear/codetickets/2034/
This commit is contained in:
parent
b0ee215bed
commit
b177d407f8
1 changed files with 1 additions and 0 deletions
|
@ -1013,6 +1013,7 @@ void LocationController::onCollectConfig()
|
||||||
m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg(), 'f', 8));
|
m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg(), 'f', 8));
|
||||||
m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg(), 'f', 8));
|
m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg(), 'f', 8));
|
||||||
applyPositionOffset();
|
applyPositionOffset();
|
||||||
|
applyAltitude();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue