[Pkg-owncloud-commits] [owncloud-client] 56/84: ShareLink: Ensure the password line edit is enabled #5117

Sandro Knauß hefee at moszumanska.debian.org
Fri Oct 21 22:51:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch master
in repository owncloud-client.

commit cb19ebc9e3926be632bafc52119d7eea1c3863bb
Author: Christian Kamm <mail at ckamm.de>
Date:   Wed Aug 17 15:48:25 2016 +0200

    ShareLink: Ensure the password line edit is enabled #5117
    
    (cherry picked from commit b541fea793a1249d6833474765e2b7a6574e492c)
---
 src/gui/sharelinkwidget.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp
index 86a4b1d..d8a84f8 100644
--- a/src/gui/sharelinkwidget.cpp
+++ b/src/gui/sharelinkwidget.cpp
@@ -366,6 +366,7 @@ void ShareLinkWidget::slotCheckBoxShareLinkClicked()
             _ui->checkBox_password->setText(tr("Public sh&aring requires a password"));
             _ui->checkBox_expire->setEnabled(false);
             _ui->checkBox_editing->setEnabled(false);
+            _ui->lineEdit_password->setEnabled(true);
             _ui->lineEdit_password->setFocus();
             _ui->pushButton_copy->hide();
             _ui->widget_shareLink->show();
@@ -432,6 +433,7 @@ void ShareLinkWidget::slotCheckBoxPasswordClicked()
         _ui->lineEdit_password->show();
         _ui->pushButton_setPassword->show();
         _ui->lineEdit_password->setPlaceholderText(tr("Please Set Password"));
+        _ui->lineEdit_password->setEnabled(true);
         _ui->lineEdit_password->setFocus();
     } else {
         setPassword(QString());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list