Commit 96303bb4 authored by Gus Grubba's avatar Gus Grubba

Fixing JavaScript exceptions

parent 1ab57601
......@@ -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 {
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment