mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +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;
|
_syncEnabled = enabled;
|
||||||
|
|
||||||
foreach( Folder *f, _folderMap.values() ) {
|
foreach( Folder *f, _folderMap.values() ) {
|
||||||
if (_disabledFolders.contains(f)) {
|
f->setSyncEnabled(enabled && !_disabledFolders.contains(f));
|
||||||
enabled = false;
|
|
||||||
}
|
|
||||||
f->setSyncEnabled(enabled);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue