mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
fix: SFTP transport file
This commit is contained in:
@@ -137,7 +137,7 @@ class FileSystemViewTable(
|
||||
table.requestFocusInWindow()
|
||||
}
|
||||
|
||||
showContextMenu(rows, e)
|
||||
showContextMenu(rows.sortedArray(), e)
|
||||
} else if (SwingUtilities.isLeftMouseButton(e) && e.clickCount % 2 == 0) {
|
||||
val row = table.selectedRow
|
||||
if (row <= 0 || row >= table.rowCount) return
|
||||
@@ -852,10 +852,9 @@ class FileSystemViewTable(
|
||||
}
|
||||
|
||||
if (attr.isFile) {
|
||||
if (!adder.add(createTransport(attr.path, false, 0).apply { scanned() })) {
|
||||
adder.add(createTransport(attr.path, false, 0).apply { scanned() })
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
val queue = ArrayDeque<Transport>()
|
||||
var isTerminate = false
|
||||
|
||||
Reference in New Issue
Block a user