Commit fa54c19f authored by Martin Straka's avatar Martin Straka

Fixed cannot select p12 certificate (issue #101)

parent 66b750f6
......@@ -74,7 +74,7 @@ Dialog {
folderModel.folder = folderModel.folder
root.showFiles = showFiles
if (filters !== "") {
folderModel.nameFilters = [filters]
folderModel.nameFilters = filters
}
selectedFileIndex = -1
// clear add path list model
......
......@@ -80,11 +80,11 @@ Component {
property var funcs: {
"zfoFile": function callZfoFile() {
clearInfo()
fileDialogue.raise(qsTr("Select ZFO files"), "*.zfo", true)
fileDialogue.raise(qsTr("Select ZFO files"), ["*.zfo"], true)
},
"zfoDir": function callZfoDir() {
clearInfo()
fileDialogue.raise(qsTr("Select import directory"), "*.*", false)
fileDialogue.raise(qsTr("Select import directory"), ["*.*"], false)
}
}
......
......@@ -453,7 +453,7 @@ Item {
font.pointSize: defaultTextFont.font.pointSize
text: qsTr("Add file")
onClicked: {
fileDialogue.raise(qsTr("Select files"), "*.*", true)
fileDialogue.raise(qsTr("Select files"), ["*.*"], true)
}
}
Component {
......
......@@ -202,7 +202,7 @@ Item {
height: inputItemHeight
font.pointSize: defaultTextFont.font.pointSize
onClicked: {
fileDialogue.raise("Select certificate file", "*.pem", true)
fileDialogue.raise("Select certificate file", ["*.pem","*.p12","*.pfx"], true)
}
}
AccessibleText {
......
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