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 24, 2024
1 parent 22f4494 commit a8fe9cf
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 a8fe9cf

Please sign in to comment.