From 7f44e83cc752a959a75c622fd4a83fc83c4f3fc2 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 19 Jan 2016 13:37:06 +0100 Subject: [PATCH] Share dialog: Remove unintended spinner when password required --- src/gui/sharelinkwidget.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp index a8a3e2d80..c5c5b0c30 100644 --- a/src/gui/sharelinkwidget.cpp +++ b/src/gui/sharelinkwidget.cpp @@ -358,14 +358,11 @@ void ShareLinkWidget::slotCheckBoxShareLinkClicked() { qDebug() << Q_FUNC_INFO <<( _ui->checkBox_shareLink->checkState() == Qt::Checked); if (_ui->checkBox_shareLink->checkState() == Qt::Checked) { - _pi_link->startAnimation(); - /* * Check the capabilities if the server requires a password for a share * Ask for it directly */ if (_account->capabilities().sharePublicLinkEnforcePassword()) { - _pi_link->stopAnimation(); _ui->checkBox_password->setChecked(true); _ui->checkBox_password->setEnabled(false); _ui->checkBox_password->setText(tr("Public shå requires a password")); @@ -379,6 +376,7 @@ void ShareLinkWidget::slotCheckBoxShareLinkClicked() return; } + _pi_link->startAnimation(); _ui->checkBox_shareLink->setEnabled(false); _manager->createLinkShare(_sharePath); } else {