From: Claudio Cambra Date: Wed, 26 Oct 2022 10:47:42 +0000 (+0200) Subject: Only show Sync Now button if account is connected X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~174^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=09997b189f4a8fb64dc80e7e06e23783422131e0;p=nextcloud-desktop.git Only show Sync Now button if account is connected Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/SyncStatus.qml b/src/gui/tray/SyncStatus.qml index ea9480528..b6ff2713c 100644 --- 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) {