diff options
Diffstat (limited to 'src/devices/file_device')
-rw-r--r-- | src/devices/file_device/directory_listing.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/file_device/directory_listing.rs b/src/devices/file_device/directory_listing.rs index 1d7ddd2..465efc7 100644 --- a/src/devices/file_device/directory_listing.rs +++ b/src/devices/file_device/directory_listing.rs @@ -100,6 +100,11 @@ impl DirectoryListing { } } + pub fn deselect_child(&mut self) { + self.child_path_buffer.clear(); + self.selected = None; + } + pub fn child_path_buffer(&mut self) -> &mut BedrockPathBuffer { &mut self.child_path_buffer } |