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
fa2a2ae6
Commit
fa2a2ae6
authored
Aug 15, 2017
by
DonLakeFlyer
Browse files
Fix object creation
parent
c208d174
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FlightMap/MapItems/CustomMapItems.qml
View file @
fa2a2ae6
...
...
@@ -32,7 +32,7 @@ Item {
if
(
controlUrl
!=
""
)
{
var
component
=
Qt
.
createComponent
(
controlUrl
);
if
(
component
.
status
==
Component
.
Ready
)
{
_customObject
=
_customC
omponent
.
createObject
(
map
,
{
"
vehicle
"
:
vehicle
})
;
_customObject
=
c
omponent
.
createObject
(
map
,
{
"
customMapObject
"
:
object
})
if
(
_customObject
)
{
map
.
addMapItem
(
_customObject
)
}
...
...
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