fix: return to parent folder failure (#468)

This commit is contained in:
hstyi
2025-04-08 14:43:58 +08:00
committed by GitHub
parent 79e59143fb
commit 41a0409e9e

View File

@@ -192,8 +192,7 @@ class FileSystemViewPanel(
button.addActionListener(object : AbstractAction() { button.addActionListener(object : AbstractAction() {
override fun actionPerformed(e: ActionEvent) { override fun actionPerformed(e: ActionEvent) {
if (model.rowCount < 1) return if (model.rowCount < 1) return
if (model.hasParent) return if (model.hasParent) enterTableSelectionFolder(0)
enterTableSelectionFolder(0)
} }
}) })