From: Claudio Cambra Date: Mon, 4 Mar 2024 16:05:25 +0000 (+0800) Subject: Deselect table view or shares after reload to reset UI X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~46^2~78 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=96c66e02bebfd7951ffebb17cd3b31bfaf774774;p=nextcloud-desktop.git Deselect table view or shares after reload to reset UI Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareTableViewDataSource.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareTableViewDataSource.swift index 28eb93141..9830d342f 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareTableViewDataSource.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareTableViewDataSource.swift @@ -77,6 +77,7 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource, NSTableViewDele return } account = convertedAccount + await sharesTableView?.deselectAll(self) shares = await fetch( itemIdentifier: itemIdentifier, itemRelativePath: serverPath as String )