mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
ShareLinkWidget: Set state of passwd checkbox always.
This commit is contained in:
parent
01faf102ba
commit
e6ab047751
1 changed files with 2 additions and 3 deletions
|
@ -236,9 +236,8 @@ void ShareLinkWidget::slotSharesFetched(const QList<QSharedPointer<Share>> &shar
|
|||
_ui->widget_shareLink->show();
|
||||
_ui->checkBox_shareLink->setChecked(true);
|
||||
|
||||
if (!_passwordRequired) {
|
||||
_ui->checkBox_password->setEnabled(true);
|
||||
}
|
||||
_ui->checkBox_password->setEnabled(!_passwordRequired);
|
||||
|
||||
if (_share->isPasswordSet()) {
|
||||
_ui->lineEdit_password->setEnabled(true);
|
||||
_ui->checkBox_password->setChecked(true);
|
||||
|
|
Loading…
Reference in a new issue