Fix "Choose local file" does nothing
An import was wrong.
Fix #286
(cherry picked from commit 34311e4d48)
This commit is contained in:
@@ -187,7 +187,7 @@ Kirigami.ScrollablePage {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
attachDialog.close()
|
attachDialog.close()
|
||||||
|
|
||||||
var fileDialog = openFileDialog.createObject(ApplicationWindow.overlay)
|
var fileDialog = openFileDialog.createObject(QQC2.ApplicationWindow.overlay)
|
||||||
|
|
||||||
fileDialog.chosen.connect(function(path) {
|
fileDialog.chosen.connect(function(path) {
|
||||||
if (!path) return
|
if (!path) return
|
||||||
|
|||||||
Reference in New Issue
Block a user