Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/appsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ void AppSettings::setGpsAntennaHeight( const double gpsAntennaHeight )
}
if ( mGpsAntennaHeight != height )
{
mGpsAntennaHeight = gpsAntennaHeight;
mGpsAntennaHeight = height;
setValue( "gpsHeight", height );

emit gpsAntennaHeightChanged( gpsAntennaHeight );
emit gpsAntennaHeightChanged( height );
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/qml/settings/MMSettingsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ MMPage {
title: qsTr("GPS antenna height")
description: qsTr("Includes pole height and GPS receiver’s antenna height")
valueDescription: qsTr("GPS antenna height, in meters")
value: AppSettings.gpsAntennaHeight
value: __inputUtils.formatNumber(AppSettings.gpsAntennaHeight, 3)
suffix: " m"

onValueWasChanged: function( newValue ) {
Expand Down
Loading