mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-19 19:09:54 +00:00
fixed #1629
This commit is contained in:
parent
2d357d0ed2
commit
dc03a7f135
@ -82,10 +82,11 @@ export class EditConnectionModalComponent {
|
||||
this.electron.dialog.showOpenDialog(
|
||||
this.hostApp.getWindow(),
|
||||
{
|
||||
defaultPath: this.connection.privateKey,
|
||||
title: 'Select private key',
|
||||
}
|
||||
).then(result => {
|
||||
if (result.filePaths) {
|
||||
if (!result.canceled) {
|
||||
this.connection.privateKey = result.filePaths[0]
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user