mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Sharing: Disable 'set password' button when password is empty #5788
This commit is contained in:
parent
91f6cae168
commit
03aa7e3044
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void ShareLinkWidget::slotShareSelectionChanged()
|
||||||
_ui->lineEdit_password->setPlaceholderText("********");
|
_ui->lineEdit_password->setPlaceholderText("********");
|
||||||
_ui->lineEdit_password->setText(QString());
|
_ui->lineEdit_password->setText(QString());
|
||||||
_ui->lineEdit_password->setEnabled(true);
|
_ui->lineEdit_password->setEnabled(true);
|
||||||
_ui->pushButton_setPassword->setEnabled(true);
|
_ui->pushButton_setPassword->setEnabled(false);
|
||||||
} else {
|
} else {
|
||||||
_ui->checkBox_password->setChecked(false);
|
_ui->checkBox_password->setChecked(false);
|
||||||
_ui->lineEdit_password->setPlaceholderText(QString());
|
_ui->lineEdit_password->setPlaceholderText(QString());
|
||||||
|
|
Loading…
Reference in a new issue