Skip to content

Commit

Permalink
Re-run update sync paused state slot when folder list has changed
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and camilasan committed Apr 23, 2024
1 parent 8da0841 commit 54ce0c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ void Systray::create()
hideWindow();
emit activated(QSystemTrayIcon::ActivationReason::Unknown);
slotUpdateSyncPausedState();
connect(FolderMan::instance(), &FolderMan::folderListChanged, this, &Systray::slotUpdateSyncPausedState);
}

void Systray::showWindow(WindowPosition position)
Expand Down

0 comments on commit 54ce0c5

Please sign in to comment.