From b7ea6530c5d3f3a62cdfeea8f4b1a46e671dba96 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Wed, 14 Oct 2020 18:41:35 +0200 Subject: [PATCH] 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 --- src/gui/sharelinkwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.30.2