Jelajahi Sumber

Bug 2058: "Optimize connection buffer size" checkbox is disabled for S3 although it has effect for the protocol

https://winscp.net/tracker/2058

Source commit: 48215f83d50934ed62252c08e845253ff2ea429d
Martin Prikryl 3 tahun lalu
induk
melakukan
6d961ac70f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      source/forms/SiteAdvanced.cpp

+ 1 - 1
source/forms/SiteAdvanced.cpp

@@ -836,7 +836,7 @@ void __fastcall TSiteAdvancedDialog::UpdateControls()
       FtpPasvModeCheck->Checked = true;
       MessageDialog(MainInstructions(LoadStr(FTP_PASV_MODE_REQUIRED)), qtInformation, qaOK);
     }
-    EnableControl(BufferSizeCheck, SshProtocol || FtpProtocol);
+    EnableControl(BufferSizeCheck, SshProtocol || FtpProtocol || S3Protocol);
     PingGroup->Visible = !FtpProtocol;
     EnableControl(PingGroup, SshProtocol);
     EnableControl(PingIntervalSecEdit, PingGroup->Enabled && !PingOffButton->Checked);