Browse Source

command/actions.rs: ask confirmation for delete

master
Manos Pitsidianakis 3 months ago
parent
commit
d1437ff275
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 1
      src/command/actions.rs

1
src/command/actions.rs

@ -130,6 +130,7 @@ pub enum Action {
impl Action {
pub fn needs_confirmation(&self) -> bool {
match self {
Action::Listing(ListingAction::Delete) => true,
Action::Listing(_) => false,
Action::ViewMailbox(_) => false,
Action::Sort(_, _) => false,

Loading…
Cancel
Save