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
f17a25f3
Commit
f17a25f3
authored
Jun 17, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't show board orientation after compass cal
parent
fdb13156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
SensorsComponent.qml
src/AutoPilotPlugins/PX4/SensorsComponent.qml
+9
-1
No files found.
src/AutoPilotPlugins/PX4/SensorsComponent.qml
View file @
f17a25f3
...
...
@@ -115,6 +115,7 @@ QGCView {
onSetCompassRotations
:
{
if
(
showCompass0Rot
||
showCompass1Rot
||
showCompass2Rot
)
{
setOrientationsDialogShowBoardOrientation
=
false
showDialog
(
setOrientationsDialogComponent
,
qsTr
(
"
Set Compass Rotation(s)
"
),
qgcView
.
showDialogDefaultWidth
,
StandardButton
.
Ok
)
}
}
...
...
@@ -195,6 +196,8 @@ QGCView {
}
}
property
bool
setOrientationsDialogShowBoardOrientation
:
true
Component
{
id
:
setOrientationsDialogComponent
...
...
@@ -221,6 +224,8 @@ QGCView {
}
Column
{
visible
:
setOrientationsDialogShowBoardOrientation
QGCLabel
{
text
:
qsTr
(
"
Autopilot Orientation:
"
)
}
...
...
@@ -402,7 +407,10 @@ QGCView {
id
:
setOrientationsButton
width
:
parent
.
buttonWidth
text
:
qsTr
(
"
Set Orientations
"
)
onClicked
:
showDialog
(
setOrientationsDialogComponent
,
qsTr
(
"
Set Orientations
"
),
qgcView
.
showDialogDefaultWidth
,
StandardButton
.
Ok
)
onClicked
:
{
setOrientationsDialogShowBoardOrientation
=
true
showDialog
(
setOrientationsDialogComponent
,
qsTr
(
"
Set Orientations
"
),
qgcView
.
showDialogDefaultWidth
,
StandardButton
.
Ok
)
}
}
}
// Column - Buttons
...
...
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