summaryrefslogtreecommitdiffstats
path: root/src/interactive/app/handlers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interactive/app/handlers.rs')
-rw-r--r--src/interactive/app/handlers.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interactive/app/handlers.rs b/src/interactive/app/handlers.rs
index 73e7403..d36e5f8 100644
--- a/src/interactive/app/handlers.rs
+++ b/src/interactive/app/handlers.rs
@@ -229,6 +229,7 @@ impl AppState {
self.message = None;
res
}
+ #[cfg(feature = "trash-move")]
Some(MarkMode::Trash) => {
self.message = Some("Trashing entries...".to_string());
let mut entries_trashed = 0;
@@ -272,6 +273,7 @@ impl AppState {
Ok(entries_deleted)
}
+ #[cfg(feature = "trash-move")]
pub fn trash_entry(
&mut self,
index: TreeIndex,