From e07a3bbb1b30c6ebe24367c8550e5ec617c735cf Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Fri, 14 Jun 2024 19:26:27 +0200 Subject: [PATCH] Finally figured out why the second window wasn't showing up :-/ --- Linux/src/devices/emulator/emulatorwindow.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Linux/src/devices/emulator/emulatorwindow.rs b/Linux/src/devices/emulator/emulatorwindow.rs index dd665f5..ddf3428 100644 --- a/Linux/src/devices/emulator/emulatorwindow.rs +++ b/Linux/src/devices/emulator/emulatorwindow.rs @@ -32,8 +32,9 @@ impl SimpleComponent for EmulatorWindow fn init(_data: Self::Init, root: Self::Root, _sender: ComponentSender, ) -> ComponentParts { let model = EmulatorWindow {}; - let widgets = view_output!(); + + root.set_visible(true); ComponentParts { model, widgets } }