projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f6cae
)
Sharing: Disable 'set password' button when password is empty #5788
author
Christian Kamm
<mail@ckamm.de>
Mon, 22 May 2017 12:41:06 +0000
(14:41 +0200)
committer
Christian Kamm
<mail@ckamm.de>
Mon, 22 May 2017 12:41:06 +0000
(14:41 +0200)
src/gui/sharelinkwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/sharelinkwidget.cpp
b/src/gui/sharelinkwidget.cpp
index 97f1293a19539e40840e74f3c1513f1114129648..b2f6d7c7d6809bfbd140a68cb95b5202b55c1006 100644
(file)
--- a/
src/gui/sharelinkwidget.cpp
+++ b/
src/gui/sharelinkwidget.cpp
@@
-302,7
+302,7
@@
void ShareLinkWidget::slotShareSelectionChanged()
_ui->lineEdit_password->setPlaceholderText("********");
_ui->lineEdit_password->setText(QString());
_ui->lineEdit_password->setEnabled(true);
- _ui->pushButton_setPassword->setEnabled(
tru
e);
+ _ui->pushButton_setPassword->setEnabled(
fals
e);
} else {
_ui->checkBox_password->setChecked(false);
_ui->lineEdit_password->setPlaceholderText(QString());