Unverified Commit 95be320c authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6441 from DonLakeFlyer/FactValueSlider

Fix altitude change signalling
parents 6e2c8109 b20e14f9
......@@ -56,14 +56,21 @@ Rectangle {
recalcRelativeIndex()
}
Component.onCompleted: valueListView.maximumFlickVelocity = valueListView.maximumFlickVelocity / 2
Component.onCompleted: {
valueListView.maximumFlickVelocity = valueListView.maximumFlickVelocity / 2
reset()
}
Connections {
target: _fact
onValueChanged: reset()
}
Component {
id: editDialogComponent
ParameterEditorDialog {
fact: _fact
onValueChanged: reset()
}
}
......@@ -75,8 +82,6 @@ Rectangle {
clip: true
model: _model
Component.onCompleted: reset()
delegate: QGCLabel {
width: _itemWidth
height: _itemHeight
......
......@@ -918,7 +918,7 @@ void SimpleMissionItem::applyNewAltitude(double newAltitude)
// Leave alone
break;
default:
_missionItem.setParam7(newAltitude);
_altitudeFact.setRawValue(newAltitude);
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment