From 96e76398e18e455e003f53e8eba1d4903eeae8f3 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Fri, 18 Oct 2024 13:57:29 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-137866=20=E3=80=90fr-fbp=E5=86=92?= =?UTF-8?q?=E7=83=9F=E3=80=91=E3=80=90=E6=95=B0=E6=8D=AE=E6=BA=90=E3=80=91?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=BF=9E=E6=8E=A5-ssh=E8=AE=BE=E7=BD=AE-?= =?UTF-8?q?=E5=85=AC=E9=92=A5=E8=AE=A4=E8=AF=81=EF=BC=8C=E8=AF=BB=E4=B8=8D?= =?UTF-8?q?=E5=88=B0=E7=A7=81=E9=92=A5=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/design/data/datapane/connect/SshPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java b/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java index 4c672479ae..1d31b1a5ab 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java @@ -97,7 +97,7 @@ public class SshPane extends BasicPane { type.addActionListener(e -> changePaneForType()); fileChooserButton.addActionListener(e -> { - FILEChooserPane fileChooser = FILEChooserPane.getInstanceWithDesignatePath(SslUtils.PREFIX, new ChooseFileFilter(true), SslUtils.CERTIFICATES); + FILEChooserPane fileChooser = FILEChooserPane.getFileCAChoosePane(new ChooseFileFilter(true)); int type = fileChooser.showOpenDialog(SshPane.this, StringUtils.EMPTY); if (type == FILEChooserPane.OK_OPTION) { final FILE file = fileChooser.getSelectedFILE();