Store and synchronize Menu in application::State
This commit is contained in:
parent
b3ff522c18
commit
31997d255f
5 changed files with 64 additions and 13 deletions
|
|
@ -151,6 +151,7 @@ where
|
|||
application.mode(),
|
||||
event_loop.primary_monitor(),
|
||||
)
|
||||
.with_menu(Some(conversion::menu(&application.menu())))
|
||||
.build(&event_loop)
|
||||
.map_err(Error::WindowCreationFailed)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue