Ensure forcing a folder to be synced unpauses syncing on said folder
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 9 Nov 2022 15:43:08 +0000 (16:43 +0100)
committerClaudio Cambra <claudio.cambra@gmail.com>
Tue, 15 Nov 2022 11:32:13 +0000 (12:32 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/folderman.cpp

index 7b6582b68e944639aa479907706f034605235be6..af035a512b344e6694e907ae668886ea9d7bec11 100644 (file)
@@ -616,6 +616,8 @@ void FolderMan::forceSyncForFolder(Folder *folder)
     }
 
     folder->slotWipeErrorBlacklist(); // issue #6757
+    folder->setSyncPaused(false);
+
     // Insert the selected folder at the front of the queue
     scheduleFolderNext(folder);
 }