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
e66e74fa
Unverified
Commit
e66e74fa
authored
Nov 04, 2017
by
Don Gagne
Committed by
GitHub
Nov 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5818 from patrickelectric/2
PlanView: Solve KML error
parents
c6701173
c4891ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
PlanView.qml
src/PlanView/PlanView.qml
+13
-0
No files found.
src/PlanView/PlanView.qml
View file @
e66e74fa
...
...
@@ -142,6 +142,14 @@ QGCView {
}
}
Component
{
id
:
noItemForKML
QGCViewMessage
{
message
:
qsTr
(
"
You need at least one item to create a KML.
"
)
}
}
PlanMasterController
{
id
:
masterController
...
...
@@ -786,6 +794,11 @@ QGCView {
Layout.fillWidth
:
true
enabled
:
!
masterController
.
syncInProgress
onClicked
:
{
// First point do not count
if
(
_visualItems
.
count
<
2
)
{
_qgcView
.
showDialog
(
noItemForKML
,
qsTr
(
"
KML
"
),
_qgcView
.
showDialogDefaultWidth
,
StandardButton
.
Cancel
)
return
}
dropPanel
.
hide
()
masterController
.
saveKmlToSelectedFile
()
}
...
...
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