feat: move to and copy to
This commit is contained in:
parent
40f19b0d02
commit
7e44a0c3de
3 changed files with 116 additions and 4 deletions
|
|
@ -205,6 +205,10 @@ pub fn context_menu<'a>(
|
|||
children.push(menu_item(fl!("cut"), Action::Cut).into());
|
||||
}
|
||||
children.push(menu_item(fl!("copy"), Action::Copy).into());
|
||||
if selected_mount_point == 0 {
|
||||
children.push(menu_item(fl!("move-to"), Action::MoveTo).into());
|
||||
}
|
||||
children.push(menu_item(fl!("copy-to"), Action::CopyTo).into());
|
||||
|
||||
children.push(divider::horizontal::light().into());
|
||||
let supported_archive_types = crate::archive::SUPPORTED_ARCHIVE_TYPES;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue