diff --git a/Userland/Demos/WidgetGallery/main.cpp b/Userland/Demos/WidgetGallery/main.cpp index 83a0c24099..9ba23b82a1 100644 --- a/Userland/Demos/WidgetGallery/main.cpp +++ b/Userland/Demos/WidgetGallery/main.cpp @@ -15,7 +15,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio recvfd sendfd rpath unix thread")); - auto app = TRY(GUI::Application::try_create(arguments)); + auto app = TRY(GUI::Application::try_create(arguments, Core::EventLoop::MakeInspectable::Yes)); TRY(Core::System::pledge("stdio recvfd sendfd rpath thread")); TRY(Core::System::unveil("/res", "r"));