Fix browser shortcuts interfering with rename

This commit is contained in:
crschnick
2025-04-29 16:31:51 +00:00
parent 2ffbe64f4e
commit 86a307a328
@@ -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)