1
0
mirror of synced 2024-11-05 09:49:16 +00:00

Finally figured out why the second window wasn't showing up :-/

This commit is contained in:
Mark van Renswoude 2024-06-14 19:26:27 +02:00
parent 7c87a7974c
commit e07a3bbb1b

View File

@ -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 }
}