瀏覽代碼

Bug 1466: Increase length limit for custom command and console

https://winscp.net/tracker/1466
(cherry picked from commit 895c04ffa831feacc58821eb97307de6308619cd)

Source commit: 4c42f01d8523a2d299a4d32d39f0d28b2b0b959e
Martin Prikryl 9 年之前
父節點
當前提交
52b4c28c9b
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      source/forms/Console.dfm
  2. 1 0
      source/forms/CustomCommand.dfm

+ 1 - 0
source/forms/Console.dfm

@@ -1447,6 +1447,7 @@ object ConsoleDialog: TConsoleDialog
     Height = 21
     AutoComplete = False
     Anchors = [akLeft, akTop, akRight]
+    MaxLength = 2048
     TabOrder = 0
     OnChange = CommandEditChange
   end

+ 1 - 0
source/forms/CustomCommand.dfm

@@ -72,6 +72,7 @@ object CustomCommandDialog: TCustomCommandDialog
       Height = 21
       AutoComplete = False
       Anchors = [akLeft, akTop, akRight]
+      MaxLength = 2048
       TabOrder = 1
       OnChange = ControlChange
       OnGetData = CommandEditGetData