Skip to content

Commit

Permalink
Fix expansion of selective sync tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Müller committed Aug 24, 2022
1 parent 0b63c08 commit 407ff60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/10058
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fix configuration of selective sync from account settings

We removed a superfluous check which caused the directory tree in the account settings window to no longer expand beyond the first level.
The problem was introduced in 8d0dd36d2.

https://github.com/owncloud/client/pull/10058
3 changes: 0 additions & 3 deletions src/gui/folderstatusmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,6 @@ bool FolderStatusModel::canFetchMore(const QModelIndex &parent) const

void FolderStatusModel::fetchMore(const QModelIndex &parent)
{
if (!data(parent, FolderStatusDelegate::IsReady).toBool()) {
return;
}
auto info = infoForIndex(parent);

if (!info || info->_fetched || info->_fetchingJob)
Expand Down

0 comments on commit 407ff60

Please sign in to comment.