mirror of
https://github.com/Dummi26/tuifile.git
synced 2025-03-10 11:43:53 +01:00
fixed bug where Focus would be ignored for the M hotkey
This commit is contained in:
parent
0991c84de5
commit
9d839c8f42
@ -697,7 +697,7 @@ impl TuiFile {
|
||||
self.updates.request_move_cursor();
|
||||
}
|
||||
// M -> toggle threaded mode based on searchbar
|
||||
(_, KeyCode::Char('m')) => {
|
||||
(Focus::Files, KeyCode::Char('m')) => {
|
||||
self.updates.request_reset_search();
|
||||
self.updates.request_redraw_filebar();
|
||||
if self.search_text == "b" {
|
||||
@ -742,6 +742,7 @@ impl TuiFile {
|
||||
.filter(|e| e.selected)
|
||||
.map(|e| e.path.clone())
|
||||
.collect();
|
||||
self.updates.request_redraw_infobar();
|
||||
tasks::task_del(paths, share);
|
||||
}
|
||||
// P -> Permissions
|
||||
|
Loading…
Reference in New Issue
Block a user