mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Merge pull request #2568 from nextcloud/fix-macos-crash-403-folder-view
Fix crash when clicking on folder with status 403 in the main dialog.
This commit is contained in:
commit
534f0567bf
1 changed files with 1 additions and 1 deletions
|
@ -1241,7 +1241,7 @@ bool FolderStatusModel::SubFolderInfo::hasLabel() const
|
|||
void FolderStatusModel::SubFolderInfo::resetSubs(FolderStatusModel *model, QModelIndex index)
|
||||
{
|
||||
_fetched = false;
|
||||
delete _fetchingJob;
|
||||
_fetchingJob->deleteLater();
|
||||
if (hasLabel()) {
|
||||
model->beginRemoveRows(index, 0, 0);
|
||||
_fetchingLabel = false;
|
||||
|
|
Loading…
Reference in a new issue