From 30b45094578fd97550ad85e5e9e2e26e5c7d940e Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 5 Mar 2024 00:05:25 +0800 Subject: [PATCH] Deselect table view or shares after reload to reset UI Signed-off-by: Claudio Cambra --- .../FileProviderUIExt/ShareTableViewDataSource.swift | 1 + 1 file changed, 1 insertion(+) 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 )