From: Claudio Cambra Date: Mon, 18 Mar 2024 11:17:13 +0000 (+0800) Subject: Update form layout according to picked type when picked type changed X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~46^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7a045393318ce3f08e53fb0b83eb5160edbce1e9;p=nextcloud-desktop.git Update form layout according to picked type when picked type changed Signed-off-by: Claudio Cambra --- diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareOptionsView.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareOptionsView.swift index 41c9688dd..401f013ff 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareOptionsView.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareOptionsView.swift @@ -196,6 +196,12 @@ class ShareOptionsView: NSView { return selectedShareType } + @IBAction func shareTypePickerAction(_ sender: Any) { + if createMode { + setupCreateForm() + } + } + @IBAction func passwordCheckboxAction(_ sender: Any) { passwordSecureField.isHidden = passwordProtectCheckbox.state == .off } diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib index 857d01cbb..a797c5e9b 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareViewController.xib @@ -257,6 +257,9 @@ + + +