Merge pull request #457 from Domain/master

fix #456
This commit is contained in:
Eugene
2018-10-09 08:10:53 +02:00
committed by GitHub

View File

@@ -58,6 +58,10 @@ export class SSHModalComponent {
this.close() this.close()
this.ssh.connect(connection).catch(error => { this.ssh.connect(connection).catch(error => {
this.toastr.error(`Could not connect: ${error}`) this.toastr.error(`Could not connect: ${error}`)
}).then(() => {
setTimeout(() => {
this.app.activeTab.emitFocused()
})
}) })
} }