mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-29 16:11:03 +00:00
Fix browser keys not being captured
This commit is contained in:
@@ -195,7 +195,7 @@ public final class BrowserFileListComp extends SimpleComp {
|
||||
}
|
||||
|
||||
private void prepareTableShortcuts(TableView<BrowserEntry> table) {
|
||||
table.setOnKeyPressed(event -> {
|
||||
table.addEventFilter(KeyEvent.KEY_PRESSED, event -> {
|
||||
var selected = fileList.getSelection();
|
||||
var action = BrowserAction.getFlattened(fileList.getFileSystemModel(), selected).stream()
|
||||
.filter(browserAction -> browserAction.isApplicable(fileList.getFileSystemModel(), selected)
|
||||
|
||||
Reference in New Issue
Block a user