mirror of https://github.com/bobwen-dev/hunter
fix file counter in footer
This commit is contained in:
parent
1b596e73c1
commit
327fbc6cd2
|
@ -1168,7 +1168,7 @@ impl FileBrowser {
|
|||
} else { "".to_string() };
|
||||
|
||||
let main_widget = self.main_widget()?;
|
||||
let selection = main_widget.get_selection();
|
||||
let selection = main_widget.get_selection() + 1;
|
||||
let file_count = main_widget.content.len();
|
||||
let file_count = format!("{}", file_count);
|
||||
let digits = file_count.len();
|
||||
|
|
Loading…
Reference in New Issue