add All files to the options
This commit is contained in:
parent
f4c2e1e452
commit
ecebddf557
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ Item {
|
||||||
title: "Please choose a background"
|
title: "Please choose a background"
|
||||||
folder: shortcuts.home
|
folder: shortcuts.home
|
||||||
selectMultiple: false
|
selectMultiple: false
|
||||||
nameFilters: ["Image files (*.jpg *.jpeg *.png *.JPG *.JPEG *.PNG *.webp *.gif)"]
|
nameFilters: ["Image files (*.jpg *.jpeg *.png *.JPG *.JPEG *.PNG *.webp *.gif)", "All files (*)"]
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
updateImage(fileDialog.fileUrls[0]);
|
updateImage(fileDialog.fileUrls[0]);
|
||||||
console.log("image background = " + fileDialog.fileUrls[0]);
|
console.log("image background = " + fileDialog.fileUrls[0]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue