diff --git a/src/components/window/file.rs b/src/components/window/file.rs index cef7e9f..a9e06e6 100644 --- a/src/components/window/file.rs +++ b/src/components/window/file.rs @@ -67,7 +67,7 @@ impl FileImplementedEditor for super::EchidnaWindow { notebook.prepend_closable_page( &editor_page, Some(&Label::new(Some( - &file_location + file_location .path() .expect("The file's path is missing") .file_name()