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:
01faf10
)
ShareLinkWidget: Set state of passwd checkbox always.
author
Klaas Freitag
<freitag@owncloud.com>
Wed, 2 Dec 2015 09:05:56 +0000
(10:05 +0100)
committer
Klaas Freitag
<freitag@owncloud.com>
Wed, 2 Dec 2015 09:05:56 +0000
(10:05 +0100)
src/gui/sharelinkwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/sharelinkwidget.cpp
b/src/gui/sharelinkwidget.cpp
index d482f6024efe87c9a87886da773cca8d72905f69..da3ff8791fd6c1622a76f95a4bfce0ff5947069b 100644
(file)
--- a/
src/gui/sharelinkwidget.cpp
+++ b/
src/gui/sharelinkwidget.cpp
@@
-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);