summaryrefslogtreecommitdiffstats
path: root/src/modes/edit/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/edit/context.rs')
-rw-r--r--src/modes/edit/context.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modes/edit/context.rs b/src/modes/edit/context.rs
index 3f0d266..e07f47a 100644
--- a/src/modes/edit/context.rs
+++ b/src/modes/edit/context.rs
@@ -7,7 +7,7 @@ const CONTEXT: [(&str, ActionMap); 9] = [
("Open with", ActionMap::Exec),
("Flag", ActionMap::ToggleFlag),
("Rename", ActionMap::Rename),
- ("Delete", ActionMap::DeleteFile),
+ ("Delete", ActionMap::Delete),
("Trash", ActionMap::TrashMoveFile),
("Chmod", ActionMap::Chmod),
("New File", ActionMap::NewFile),
@@ -42,6 +42,5 @@ impl ContextMenu {
type StaticStr = &'static str;
-// impl_selectable_content!(StaticStr, ContextMenu);
impl_selectable!(ContextMenu);
impl_content!(StaticStr, ContextMenu);