Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
5456ee2a
Commit
5456ee2a
authored
Oct 19, 2019
by
Valentin Platzgummer
Browse files
123
parent
a6776c0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/FlightDisplay/FlightDisplayWimaMenu.qml
View file @
5456ee2a
...
...
@@ -154,6 +154,25 @@ Item {
Layout.fillWidth
:
true
}
}
SectionHeader
{
id
:
statsHeader
text
:
qsTr
(
"
Statistics
"
)
}
GridLayout
{
columns
:
2
rowSpacing
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.topMargin
:
ScreenTools
.
defaultFontPixelHeight
*
0.25
visible
:
statsHeader
.
checked
QGCLabel
{
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Phase Length:
"
)
wrapMode
:
Text
.
WordWrap
font.pointSize
:
ScreenTools
.
smallFontPointSize
}
}
}
}
}
src/MissionManager/MissionController.cc
View file @
5456ee2a
...
...
@@ -422,7 +422,7 @@ int MissionController::insertSimpleMissionItem(SimpleMissionItem &missionItem, i
return
-
1
;
// can not add this takeoff command for this vehicle
}
}
//
newItem->setMissionFlightStatus(_missionFlightStatus);
newItem
->
setMissionFlightStatus
(
_missionFlightStatus
);
_visualItems
->
insert
(
i
,
newItem
);
return
newItem
->
sequenceNumber
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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