Fix "Choose local file" does nothing

An import was wrong.

Fix #286


(cherry picked from commit 34311e4d48)
This commit is contained in:
Carl Schwan
2021-03-05 00:30:59 +00:00
parent 008ef38226
commit e24a1b4541

View File

@@ -187,7 +187,7 @@ Kirigami.ScrollablePage {
onClicked: {
attachDialog.close()
var fileDialog = openFileDialog.createObject(ApplicationWindow.overlay)
var fileDialog = openFileDialog.createObject(QQC2.ApplicationWindow.overlay)
fileDialog.chosen.connect(function(path) {
if (!path) return