feat: add open-with in multi preview
Adds the ability to set the open-with setting for multiple selected items. This setting will only appear if all selected items have the same mime type.
This commit is contained in:
parent
e50c41aa24
commit
17325a5f5a
3 changed files with 43 additions and 3 deletions
|
|
@ -2010,7 +2010,7 @@ impl App {
|
|||
|
||||
match (selected.next(), selected.next()) {
|
||||
// At least two selected items
|
||||
(Some(_), Some(_)) => Some(tab.multi_preview_view()),
|
||||
(Some(_), Some(_)) => Some(tab.multi_preview_view(Some(&self.mime_app_cache))),
|
||||
// Exactly one selected item
|
||||
(Some(item), None) => {
|
||||
Some(item.preview_view(Some(&self.mime_app_cache), military_time))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue