mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-03 19:30:31 +00:00
Fix browser shortcuts interfering with rename
This commit is contained in:
@@ -330,6 +330,11 @@ public final class BrowserFileListComp extends SimpleComp {
|
||||
return;
|
||||
}
|
||||
|
||||
// Don't apply actions while renaming
|
||||
if (fileList.getEditing().getValue() != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
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