diff --git a/src/gui/filedetails/ShareView.qml b/src/gui/filedetails/ShareView.qml index 3a89dc4eb..d07cbcd92 100644 --- a/src/gui/filedetails/ShareView.qml +++ b/src/gui/filedetails/ShareView.qml @@ -95,6 +95,8 @@ ColumnLayout { closePolicy: Popup.NoAutoClose visible: false + onAboutToShow: dialogPasswordField.text = shareModel.generatePassword() + onClosed: dialogPasswordField.text = "" onAccepted: { if(sharee) {