diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 45deb2c5e01c1..d65258e1fa468 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -128,6 +128,7 @@ void Systray::create() hideWindow(); emit activated(QSystemTrayIcon::ActivationReason::Unknown); slotUpdateSyncPausedState(); + connect(FolderMan::instance(), &FolderMan::folderListChanged, this, &Systray::slotUpdateSyncPausedState); } void Systray::showWindow(WindowPosition position)