mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-11-17 11:16:51 +00:00
Fix browser shortcuts interfering with rename
This commit is contained in:
1 parent
2ffbe64f4e
commit
86a307a328
1 file changed
+5
@@ -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