Add ability to remove files from Recents
This commit is contained in:
parent
5a01fb95ff
commit
54b884e5f8
6 changed files with 63 additions and 3 deletions
|
|
@ -239,6 +239,12 @@ pub fn context_menu<'a>(
|
|||
children.push(menu_item(fl!("add-to-sidebar"), Action::AddToSidebar).into());
|
||||
}
|
||||
children.push(divider::horizontal::light().into());
|
||||
if matches!(tab.location, Location::Recents) {
|
||||
children.push(
|
||||
menu_item(fl!("remove-from-recents"), Action::RemoveFromRecents).into(),
|
||||
);
|
||||
children.push(divider::horizontal::light().into());
|
||||
}
|
||||
if selected_mount_point == 0 {
|
||||
if modifiers.shift() && !modifiers.control() {
|
||||
children.push(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue