desktop: Fix window title after closing the file
Previously the title showed the filename in the title even after the file had been long closed.
This commit is contained in:
parent
1b41abf3a3
commit
d4e5e54dc0
|
@ -471,6 +471,7 @@ impl App {
|
|||
}
|
||||
|
||||
winit::event::Event::UserEvent(RuffleEvent::CloseFile) => {
|
||||
self.window.set_title("Ruffle"); // Reset title since file has been closed.
|
||||
self.player.destroy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue