diff --git a/src/qml/Base/HFileDialogOpener.qml b/src/qml/Base/HFileDialogOpener.qml index 6fc644d3..9bfac066 100644 --- a/src/qml/Base/HFileDialogOpener.qml +++ b/src/qml/Base/HFileDialogOpener.qml @@ -45,6 +45,6 @@ Item { opener.file = Qt.binding(() => Qt.resolvedUrl(file)) } onAccepted: { opener.selectedFile = currentFile, opener.file = file } - onRejected: { selectedFile = null; file = null} + onRejected: { selectedFile = ""; file = ""} } } diff --git a/src/qml/Pages/EditAccount/Profile.qml b/src/qml/Pages/EditAccount/Profile.qml index 3e8151b8..759fadc9 100644 --- a/src/qml/Pages/EditAccount/Profile.qml +++ b/src/qml/Pages/EditAccount/Profile.qml @@ -156,6 +156,8 @@ HGridLayout { onClicked: { nameField.field.text = userInfo.displayName + fileDialog.selectedFile = "" + fileDialog.file = "" } } }