mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Fix browser keys not being captured
This commit is contained in:
parent
74d1e5fb7e
commit
4d7fcbbef0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue