diff --git a/src/GUI/LocationController.cxx b/src/GUI/LocationController.cxx index 411bf3762..e591c9461 100644 --- a/src/GUI/LocationController.cxx +++ b/src/GUI/LocationController.cxx @@ -999,8 +999,8 @@ void LocationController::onCollectConfig() } if (m_locationIsLatLon) { - m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg())); - m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg())); + m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg(), 'f', 8)); + m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg(), 'f', 8)); applyPositionOffset(); return; }