deselect cwd before selecting all

This commit is contained in:
joshuaboud 2021-06-07 12:17:12 -03:00
parent af7f5d01a8
commit 4f15b9e71f
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E
1 changed files with 1 additions and 0 deletions

View File

@ -1929,6 +1929,7 @@ class NavWindow {
}
select_all() {
this.selected_entries.clear();
for (let entry of this.entries) {
if (!entry.is_hidden_file || this.show_hidden) {
this.set_selected(entry, false, true);