SelectAll: extend selection list rather than replacing

Also applies to ToggleSelectAll i.e. `ctrl-a`
extend-selection
Arijit Basu 1 year ago
parent e0d683b13a
commit 011f906aed
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -1501,7 +1501,7 @@ impl App {
pub fn select_all(mut self) -> Result<Self> {
if let Some(d) = self.directory_buffer.as_ref() {
self.selection = d.nodes.clone().into_iter().collect();
self.selection.extend(d.nodes.clone());
};
Ok(self)

Loading…
Cancel
Save