projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc170d
)
Stop the animation if we got an error message
author
Kevin Ottens
<kevin.ottens@nextcloud.com>
Wed, 14 Oct 2020 16:41:35 +0000
(18:41 +0200)
committer
Camila (Rebase PR Action)
<hello@camila.codes>
Mon, 19 Oct 2020 14:33:19 +0000
(14:33 +0000)
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>
src/gui/sharelinkwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/sharelinkwidget.cpp
b/src/gui/sharelinkwidget.cpp
index 7882cefc7b2eb802a736b6f5ec1f5c5ab0a6f9ea..3a2b40f7098fcb4d4b70a7f01c5dd60f5e0818d0 100644
(file)
--- 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()) {