fix file counter in footer

This commit is contained in:
rabite 2019-06-17 18:00:19 +02:00
parent 1b596e73c1
commit 327fbc6cd2
1 changed files with 1 additions and 1 deletions

View File

@ -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();