Finally figured out why the second window wasn't showing up :-/
This commit is contained in:
parent
7c87a7974c
commit
e07a3bbb1b
@ -32,8 +32,9 @@ impl SimpleComponent for EmulatorWindow
|
||||
fn init(_data: Self::Init, root: Self::Root, _sender: ComponentSender<Self>, ) -> ComponentParts<Self>
|
||||
{
|
||||
let model = EmulatorWindow {};
|
||||
|
||||
let widgets = view_output!();
|
||||
|
||||
root.set_visible(true);
|
||||
ComponentParts { model, widgets }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user