mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Prevent empty password being passed into share creation
We already generate a new password when the share password dialog is created, so there is really no need to clear the field when it closes. This prevents the field being cleared before the password is sent into the C++ code, leading to no password actually being sent to the server Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
4973967885
commit
8fbd6ef790
@ -97,7 +97,6 @@ ColumnLayout {
|
||||
|
||||
visible: false
|
||||
onAboutToShow: dialogPasswordField.text = shareModel.generatePassword()
|
||||
onClosed: dialogPasswordField.text = ""
|
||||
|
||||
onAccepted: {
|
||||
if(sharee) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user