mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Merge pull request #6635 from nextcloud/bugfix/crash-mac-vfs-toggle
Fix crash when in debug mode when toggling enabled status of an account's virtual files (macOS)
This commit is contained in:
commit
fe6f47e3b9
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ public:
|
||||||
NSArray<NSString *> *const modifiedVfsAccounts = mutableVfsAccounts.copy;
|
NSArray<NSString *> *const modifiedVfsAccounts = mutableVfsAccounts.copy;
|
||||||
[_userDefaults setObject:modifiedVfsAccounts forKey:_accountsKey];
|
[_userDefaults setObject:modifiedVfsAccounts forKey:_accountsKey];
|
||||||
|
|
||||||
Q_ASSERT(vfsEnabledForAccount(userIdAtHost) == userIdAtHost);
|
Q_ASSERT(vfsEnabledForAccount(userIdAtHost) == setEnabled);
|
||||||
|
|
||||||
return VfsAccountsAction::VfsAccountsEnabledChanged;
|
return VfsAccountsAction::VfsAccountsEnabledChanged;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue