projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5761f4c
)
AccountSettings: Fetch subitems after wiping them
author
Christian Kamm
<mail@ckamm.de>
Fri, 26 Jul 2019 08:16:59 +0000
(10:16 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:54 +0000
(10:58 +0100)
That helps avoid empty lists after account creation #7336
src/gui/folderstatusmodel.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderstatusmodel.cpp
b/src/gui/folderstatusmodel.cpp
index 562363ac4583716a79f4006fbcb52292664f526b..1b6b0dd06d5adb1421081a5b1df5e0b0cd980b08 100644
(file)
--- a/
src/gui/folderstatusmodel.cpp
+++ b/
src/gui/folderstatusmodel.cpp
@@
-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);
}
}