From da118f2adfc1ef4c50c4c4b4a19ae3b0f5e78904 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 12 Feb 2024 17:33:51 +0000 Subject: [PATCH] HackStudio: Enable permissive mode for Config access Displaying a GML preview in HackStudio seems to be broken at the moment, but this change will be needed once it does work again, so might as well make it now, while I'm aware of the issue. --- Userland/DevTools/HackStudio/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp index 953d0b4944..e42f942b89 100644 --- a/Userland/DevTools/HackStudio/main.cpp +++ b/Userland/DevTools/HackStudio/main.cpp @@ -43,6 +43,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto app = TRY(GUI::Application::create(arguments)); app->set_config_domain("HackStudio"_string); + Config::enable_permissive_mode(); Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" }); auto window = GUI::Window::construct();