From ffec2bcc16feedd970380b04b743c1b67b361d8d Mon Sep 17 00:00:00 2001 From: Iisakki Rotko Date: Fri, 22 Mar 2024 14:25:45 +0100 Subject: [PATCH] fix: thememanager not being correctly connected (#307) --- js/src/Themes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/src/Themes.js b/js/src/Themes.js index fd2d4305..4c10a3ed 100644 --- a/js/src/Themes.js +++ b/js/src/Themes.js @@ -29,8 +29,7 @@ export class ThemeModel extends WidgetModel { if (ThemeModel.themeManager) { ThemeModel.themeManager.themeChanged.connect(() => { if (this.get("dark") === null) { - this.set("dark_effective", vuetify.framework.theme.dark); - this.save_changes(); + this.setTheme(); } }, this); }