Re-run update sync paused state slot when folder list has changed

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-03-27 19:25:37 +08:00 committed by Camila Ayres
parent d3aa7f8f51
commit 64b7282bd4

View file

@ -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)