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:
6f67c2e
)
Only show Sync Now button if account is connected
author
Claudio Cambra
<claudio.cambra@nextcloud.com>
Wed, 26 Oct 2022 10:47:42 +0000
(12:47 +0200)
committer
Claudio Cambra
<claudio.cambra@gmail.com>
Sat, 29 Oct 2022 13:54:19 +0000
(15:54 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/tray/SyncStatus.qml
patch
|
blob
|
history
diff --git
a/src/gui/tray/SyncStatus.qml
b/src/gui/tray/SyncStatus.qml
index ea9480528f9d7fdc875221cd9b4461140e71ab02..b6ff2713ce70e0f1b6738cea7a966a5dcf796123 100644
(file)
--- a/
src/gui/tray/SyncStatus.qml
+++ b/
src/gui/tray/SyncStatus.qml
@@
-116,7
+116,9
@@
RowLayout {
bold: true
bgColor: Style.currentUserHeaderColor
- visible: !syncStatus.syncing && NC.UserModel.currentUser.hasLocalFolder
+ visible: !syncStatus.syncing &&
+ NC.UserModel.currentUser.hasLocalFolder &&
+ NC.UserModel.currentUser.isConnected
enabled: visible
onClicked: {
if(!syncStatus.syncing) {