Skip to content

Commit

Permalink
Display missionItem nmber in list
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrikbjornland committed Jul 1, 2024
1 parent 13ddfb3 commit 05a044b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PlanView/MissionItemEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Rectangle {

property real _padding: ScreenTools.comboBoxPadding

QGCLabel { text: missionItem.commandName }
QGCLabel { text: qsTr("%1: %2").arg(missionItem.sequenceNumber).arg(missionItem.commandName) }

QGCColoredImage {
height: ScreenTools.defaultFontPixelWidth
Expand Down Expand Up @@ -175,7 +175,7 @@ Rectangle {
height: commandPicker.height
visible: !missionItem.isCurrentItem || !missionItem.isSimpleItem || _waypointsOnlyMode || missionItem.isTakeoffItem
verticalAlignment: Text.AlignVCenter
text: missionItem.commandName
text: qsTr("%1: %2").arg(missionItem.sequenceNumber).arg(missionItem.commandName)
color: _outerTextColor
}
}
Expand Down

0 comments on commit 05a044b

Please sign in to comment.