mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
fix: return to parent folder failure (#468)
This commit is contained in:
@@ -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)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user