mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #296 from nextcloud/upstream/issue/6337
FolderStatusModel: Refresh folders on Problem sync #6337
This commit is contained in:
commit
cbeb9af7fd
@ -1102,7 +1102,8 @@ void FolderStatusModel::slotFolderSyncStateChange(Folder *f)
|
||||
// update the icon etc. now
|
||||
slotUpdateFolderState(f);
|
||||
|
||||
if (state == SyncResult::Success && f->syncResult().folderStructureWasChanged()) {
|
||||
if (f->syncResult().folderStructureWasChanged()
|
||||
&& (state == SyncResult::Success || state == SyncResult::Problem)) {
|
||||
// There is a new or a removed folder. reset all data
|
||||
auto &info = _folders[folderIndex];
|
||||
info.resetSubs(this, index(folderIndex));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user