From 14cfa0818fc68f89000b7b8645e30749724406d8 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Thu, 6 Apr 2023 20:32:45 +0200 Subject: [PATCH] :beetle: Fix effect profile loading --- docs/changelog.md | 1 + extension.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 661a82a..96ae92e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -19,6 +19,7 @@ SPDX-License-Identifier: CC-BY-4.0 * [This change in GNOME Shell](https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/7bd98f3f5fb7e0d1220646b8a4ee7073534a8e8f) prevented Burn-My-Windows from working if no hardware-acceleration was available on GNOME 44, including the Docker containers used for CI testing. Some severe refactoring was necessary to fix this issue. * The tutorial on how to create new effects has been updated and should work again. +* Fixed an issue which caused effect-profile loading to fail whenever Burn-My-Windows was updated. ## [Burn My Windows 27](https://github.com/schneegans/Burn-My-Windows/releases/tag/v27) diff --git a/extension.js b/extension.js index 8bdd751..0612ec6 100644 --- a/extension.js +++ b/extension.js @@ -94,7 +94,10 @@ class Extension { this._loadProfiles(); this._settings.set_int('last-extension-version', Me.metadata.version); }); + } else { + this._loadProfiles(); } + } else { this._loadProfiles(); }