Fixed del_entry
@@ -131,8 +131,10 @@ impl FileExplorer {
///
/// Delete file at provided index
pub fn del_entry(&mut self, idx: usize) {
+ if self.files.len() > idx {
self.files.remove(idx);
}
+ }
/*
/// ### count
