diff --git a/src/main/kotlin/app/termora/sftp/FileSystemViewNav.kt b/src/main/kotlin/app/termora/sftp/FileSystemViewNav.kt index ed5f884..652aaca 100644 --- a/src/main/kotlin/app/termora/sftp/FileSystemViewNav.kt +++ b/src/main/kotlin/app/termora/sftp/FileSystemViewNav.kt @@ -166,6 +166,13 @@ class FileSystemViewNav( override fun actionPerformed(e: ActionEvent) { val name = textField.text.trim() if (name.isBlank()) return + try { + changeSelectedPath(fileSystem.getPath(name)) + } catch (e: Exception) { + if (log.isErrorEnabled) { + log.error(e.message, e) + } + } } }) }