From: Kevin Ottens Date: Wed, 14 Oct 2020 16:41:35 +0000 (+0200) Subject: Stop the animation if we got an error message X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~103^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b7ea6530c5d3f3a62cdfeea8f4b1a46e671dba96;p=nextcloud-desktop.git 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 --- 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()) {