|
|
|
@ -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(); |
|
|
|
|