fix(desktop/profile): Ensure that the file is selected in FileDialog
Fix #5238
This commit is contained in:
parent
a16592c61f
commit
f067d59612
|
@ -81,11 +81,13 @@ StatusModal {
|
|||
qsTrId("image-files----jpg---jpeg---png-")
|
||||
]
|
||||
onAccepted: {
|
||||
if(imageDialog.fileUrls.length > 0) {
|
||||
cropImageModal.selectedImage = imageDialog.fileUrls[0];
|
||||
cropImageModal.open()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue