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
|
|
@ -717,7 +717,7 @@ impl App {
|
|||
|
||||
match (selected.next(), selected.next()) {
|
||||
// At least two selected items
|
||||
(Some(_), Some(_)) => Some(self.tab.multi_preview_view()),
|
||||
(Some(_), Some(_)) => Some(self.tab.multi_preview_view(None)),
|
||||
// Exactly one selected item
|
||||
(Some(item), None) => Some(item.preview_view(None, military_time)),
|
||||
// No selected items
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue