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
98a0c4ed
Commit
98a0c4ed
authored
Apr 09, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3171 from DonLakeFlyer/CommandPick
Plan: Adjust "Change command" for better usability
parents
1ce269c2
bd3a5f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
MissionItemEditor.qml
src/QmlControls/MissionItemEditor.qml
+8
-1
No files found.
src/QmlControls/MissionItemEditor.qml
View file @
98a0c4ed
...
...
@@ -82,6 +82,11 @@ Rectangle {
onTriggered
:
remove
()
}
MenuItem
{
text
:
"
Change command...
"
onTriggered
:
commandPicker
.
clicked
()
}
MenuSeparator
{
visible
:
missionItem
.
isSimpleItem
}
...
...
@@ -111,10 +116,12 @@ Rectangle {
QGCButton
{
id
:
commandPicker
anchors.topMargin
:
_margin
/
2
anchors.leftMargin
:
ScreenTools
.
defaultFontPixelWidth
*
2
anchors.rightMargin
:
ScreenTools
.
defaultFontPixelWidth
anchors.left
:
label
.
right
anchors.right
:
hamburger
.
left
anchors.top
:
parent
.
top
//anchors.right: hamburger.left
visible
:
missionItem
.
sequenceNumber
!=
0
&&
missionItem
.
isCurrentItem
&&
!
missionItem
.
rawEdit
&&
missionItem
.
isSimpleItem
text
:
missionItem
.
commandName
...
...
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