Merge pull request #400 from francesco-gaglione/recent_section
Recents section
This commit is contained in:
commit
c4c92be708
14 changed files with 210 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ pub fn context_menu<'a>(
|
|||
|
||||
let mut children: Vec<Element<_>> = Vec::new();
|
||||
match tab.location {
|
||||
Location::Path(_) | Location::Search(_, _) => {
|
||||
Location::Path(_) | Location::Search(_, _) | Location::Recents => {
|
||||
if selected > 0 {
|
||||
if selected_dir == 1 && selected == 1 || selected_dir == 0 {
|
||||
children.push(menu_item(fl!("open"), Action::Open).into());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue