mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Fix pausing one of the folder pauses all foder after it while restarting.
This commit is contained in:
parent
951ac79a68
commit
f5f56e45c0
1 changed files with 1 additions and 4 deletions
|
@ -368,10 +368,7 @@ void FolderMan::setSyncEnabled( bool enabled )
|
|||
_syncEnabled = enabled;
|
||||
|
||||
foreach( Folder *f, _folderMap.values() ) {
|
||||
if (_disabledFolders.contains(f)) {
|
||||
enabled = false;
|
||||
}
|
||||
f->setSyncEnabled(enabled);
|
||||
f->setSyncEnabled(enabled && !_disabledFolders.contains(f));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue