diff --git a/src/ui_session_interface.rs b/src/ui_session_interface.rs index 83c59dbf4..b5ec529a4 100644 --- a/src/ui_session_interface.rs +++ b/src/ui_session_interface.rs @@ -1337,7 +1337,7 @@ impl Interface for Session { #[cfg(windows)] { let mut path = std::env::temp_dir(); - path.push(&self.id); + path.push(self.get_id()); let path = path.with_extension(crate::get_app_name().to_lowercase()); std::fs::File::create(&path).ok(); if let Some(path) = path.to_str() {