Skip to content

Commit

Permalink
Merge pull request #6636 from nextcloud/backport/6635/stable-3.13
Browse files Browse the repository at this point in the history
[stable-3.13] Fix crash when in debug mode when toggling enabled status of an account's virtual files (macOS)
  • Loading branch information
claucambra committed Apr 16, 2024
2 parents 3a7ae09 + 2e6a844 commit c4f3228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/macOS/fileprovidersettingscontroller_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ explicit MacImplementation(FileProviderSettingsController *const parent)
NSArray<NSString *> *const modifiedVfsAccounts = mutableVfsAccounts.copy;
[_userDefaults setObject:modifiedVfsAccounts forKey:_accountsKey];

Q_ASSERT(vfsEnabledForAccount(userIdAtHost) == userIdAtHost);
Q_ASSERT(vfsEnabledForAccount(userIdAtHost) == setEnabled);

return VfsAccountsAction::VfsAccountsEnabledChanged;
}
Expand Down

0 comments on commit c4f3228

Please sign in to comment.