Allow show detials without any selected item
This commit is contained in:
parent
9b8844a884
commit
9a02c0f9f4
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ pub fn menu_bar<'a>(
|
||||||
tab_opt.map_or(false, |tab| tab.config.folders_first),
|
tab_opt.map_or(false, |tab| tab.config.folders_first),
|
||||||
Action::ToggleFoldersFirst,
|
Action::ToggleFoldersFirst,
|
||||||
),
|
),
|
||||||
menu_button_optional(fl!("show-details"), Action::Preview, selected > 0),
|
menu::Item::Button(fl!("show-details"), Action::Preview),
|
||||||
menu::Item::Divider,
|
menu::Item::Divider,
|
||||||
menu_button_optional(fl!("gallery-preview"), Action::Gallery, selected > 0),
|
menu_button_optional(fl!("gallery-preview"), Action::Gallery, selected > 0),
|
||||||
menu::Item::Divider,
|
menu::Item::Divider,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue