mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
AccountSettings: Fetch subitems after wiping them
That helps avoid empty lists after account creation #7336
This commit is contained in:
parent
5761f4cd8a
commit
a587cd3a13
1 changed files with 3 additions and 1 deletions
|
@ -1110,7 +1110,9 @@ void FolderStatusModel::slotFolderSyncStateChange(Folder *f)
|
|||
&& (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));
|
||||
auto idx = index(folderIndex);
|
||||
info.resetSubs(this, idx);
|
||||
fetchMore(idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue