Remove scene path from title when close(fix)
@@ -1253,7 +1253,7 @@ impl Editor {
.set_render_target(&engine.user_interface, None);
// Set default title scene
self.scene_viewer
- .set_title(&engine.user_interface, format!("Scene Preview"));
+ .set_title(&engine.user_interface, "Scene Preview".to_string());
}
}
Message::NewScene => {
