Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@nextcloud.com>2020-10-14 19:41:35 +0300
committerCamila (Rebase PR Action) <hello@camila.codes>2020-10-19 17:33:19 +0300
commitb7ea6530c5d3f3a62cdfeea8f4b1a46e671dba96 (patch)
tree2a799dad23d4cf89a19475f4717c942bf5d12187 /src/gui
parentecc170decc8175feb2ce1072036bc8d6284a8f8e (diff)
Stop the animation if we got an error message
Otherwise it would spin forever while we know we're not doing any work anymore since we got a message from the server. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/sharelinkwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp
index 7882cefc7..3a2b40f70 100644
--- a/src/gui/sharelinkwidget.cpp
+++ b/src/gui/sharelinkwidget.cpp
@@ -401,7 +401,7 @@ void ShareLinkWidget::slotDeleteAnimationFinished()
void ShareLinkWidget::slotCreateShareRequiresPassword(const QString &message)
{
- slotToggleAnimation(true);
+ slotToggleAnimation(message.isEmpty());
showPasswordOptions(true);
if (!message.isEmpty()) {