1
0
Fork 0

Launcher: fix setting altitude for lat/lon

https://sourceforge.net/p/flightgear/codetickets/2034/
This commit is contained in:
James Turner 2018-07-04 23:17:09 +01:00
parent b0ee215bed
commit b177d407f8

View file

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