From 7a6981c512ece6c7ad42fc8d60e82cdb1a44364d Mon Sep 17 00:00:00 2001 From: kra-mo <93832451+kra-mo@users.noreply.github.com> Date: Wed, 21 Dec 2022 17:45:33 +0100 Subject: [PATCH] Test code --- vanilla_first_setup/layouts/applications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vanilla_first_setup/layouts/applications.py b/vanilla_first_setup/layouts/applications.py index 443882c..99634a8 100644 --- a/vanilla_first_setup/layouts/applications.py +++ b/vanilla_first_setup/layouts/applications.py @@ -159,6 +159,8 @@ class VanillaLayoutApplications(Adw.Bin): for _id, switcher, index in self.__register_widgets: if switcher.get_active() == True: for app in self.__step["bundles"][index]["applications"]: + if "active" not in app.keys(): + app["active"] = True finals["vars"][app["name"]] = app["active"] else: for app in self.__step["bundles"][index]["applications"]: