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
bd3a5f97
Commit
bd3a5f97
authored
Apr 09, 2016
by
Don Gagne
Browse files
Adjust "Change command" for better usability
parent
fddfacd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/MissionItemEditor.qml
View file @
bd3a5f97
...
...
@@ -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
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