Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
95be320c
Unverified
Commit
95be320c
authored
May 10, 2018
by
Don Gagne
Committed by
GitHub
May 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6441 from DonLakeFlyer/FactValueSlider
Fix altitude change signalling
parents
6e2c8109
b20e14f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
FactValueSlider.qml
src/FactSystem/FactControls/FactValueSlider.qml
+9
-4
SimpleMissionItem.cc
src/MissionManager/SimpleMissionItem.cc
+1
-1
No files found.
src/FactSystem/FactControls/FactValueSlider.qml
View file @
95be320c
...
...
@@ -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
...
...
src/MissionManager/SimpleMissionItem.cc
View file @
95be320c
...
...
@@ -918,7 +918,7 @@ void SimpleMissionItem::applyNewAltitude(double newAltitude)
// Leave alone
break
;
default:
_
missionItem
.
setParam7
(
newAltitude
);
_
altitudeFact
.
setRawValue
(
newAltitude
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment