From e0f81283badefb98c3075eaeac47daccea825570 Mon Sep 17 00:00:00 2001 From: Egbert Bouman Date: Tue, 20 Aug 2024 23:30:40 +0200 Subject: [PATCH] Fix for storing GUI settings --- src/tribler/core/restapi/settings_endpoint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tribler/core/restapi/settings_endpoint.py b/src/tribler/core/restapi/settings_endpoint.py index 65d0849357..8c0f75bf86 100644 --- a/src/tribler/core/restapi/settings_endpoint.py +++ b/src/tribler/core/restapi/settings_endpoint.py @@ -81,4 +81,5 @@ def _recursive_merge_settings(self, existing: dict, updates: dict, top: bool = T # Since the core doesn't need to be aware of the GUI settings, we just copy them. if top and "ui" in updates: + existing["ui"] = existing.get("ui", {}) existing["ui"].update(updates["ui"])