From 8d94dfc97445a9bd4609f176d13561709bbb7b96 Mon Sep 17 00:00:00 2001 From: Kevin Langman Date: Wed, 17 Sep 2025 00:13:03 -0400 Subject: [PATCH] Call on_applet_reloaded() for all instances of an Applet When reloading an Applet that has more than one instance, the on_applet_reloaded() function is only called on the first Applet in the definitions array that matches the UUID. This fix allows the loop to continue through all Applet definitions and call on_applet_reloaded() for all Applet instances matching the UUID. --- js/ui/appletManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/appletManager.js b/js/ui/appletManager.js index 903b572c4b..4bdd06260b 100644 --- a/js/ui/appletManager.js +++ b/js/ui/appletManager.js @@ -122,7 +122,7 @@ function prepareExtensionReload(extension) { if (!applet) continue; global.log(`Reloading applet: ${extension.uuid}/${applet_id}`); applet.on_applet_reloaded(); - return; + //return; } } }