Suggest a password when password is enforced on server

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-08-11 12:20:23 +08:00
parent bfa7fc5299
commit 12d9a484c0

View file

@ -95,6 +95,8 @@ ColumnLayout {
closePolicy: Popup.NoAutoClose
visible: false
onAboutToShow: dialogPasswordField.text = shareModel.generatePassword()
onClosed: dialogPasswordField.text = ""
onAccepted: {
if(sharee) {