Close view menu when film edit window is opened

This commit is contained in:
pjht 2023-06-14 14:40:06 -05:00
parent 8ef1712e26
commit 315da52ce6
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -129,6 +129,7 @@ impl eframe::App for MyApp {
.clicked() .clicked()
{ {
self.edit_films_window = Some(EditFilmsWindow::new(&ctx)); self.edit_films_window = Some(EditFilmsWindow::new(&ctx));
ui.close_menu();
} }
ui.checkbox(&mut self.show_debug_info, "Show debug info"); ui.checkbox(&mut self.show_debug_info, "Show debug info");
}); });