Skip to content

Commit

Permalink
Only enque if we can sync
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Nov 15, 2023
1 parent afd26a0 commit 98ff791
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/folderman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ void FolderMan::slotFolderSyncPaused(Folder *f, bool paused)

if (!paused) {
_disabledFolders.remove(f);
scheduler()->enqueueFolder(f);
if (f->canSync()) {
scheduler()->enqueueFolder(f);
}
} else {
_disabledFolders.insert(f);
}
Expand Down

0 comments on commit 98ff791

Please sign in to comment.