Browse Source

Fixing JavaScript exceptions

QGC4.4
Gus Grubba 8 years ago
parent
commit
96303bb41c
  1. 6
      src/PlanView/MissionSettingsEditor.qml
  2. 2
      src/QmlControls/QGCFileDialog.qml

6
src/PlanView/MissionSettingsEditor.qml

@ -75,9 +75,9 @@ Rectangle { @@ -75,9 +75,9 @@ Rectangle {
Column {
id: valuesColumn
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.left: parent ? parent.left : undefined
anchors.right: parent ? parent.right : undefined
anchors.top: parent ? parent.top : undefined
spacing: _margin
SectionHeader {

2
src/QmlControls/QGCFileDialog.qml

@ -56,7 +56,7 @@ Item { @@ -56,7 +56,7 @@ Item {
FileDialog {
id: fullFileDialog
folder: "file://" + _root.folder
nameFilters: _root.nameFilters
nameFilters: _root.nameFilters ? _root.nameFilters : []
title: _root.title
selectExisting: _root.selectExisting
selectMultiple: false

Loading…
Cancel
Save