Don't insert items into the folder model if selectiveSync is not supported
authorHannah von Reth <hannah.vonreth@owncloud.com>
Mon, 9 Mar 2020 16:45:19 +0000 (17:45 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:08 +0000 (10:59 +0100)
commitd63d4cdf623d82ebe32e51f336f5395f395af5fe
tree9fb6647fd31857eb7c916551fac3b4736ded49cd
parent9176afe2631b87d6fe08f71c49aab66d786bd2fa
Don't insert items into the folder model if selectiveSync is not supported

This fixes an assertion in FolderStatusModel::SubFolderInfo::resetSubs
rowCount reported 0 but we actually had items in the model
src/gui/folderstatusmodel.cpp