From 572a34d3e32eaca74ff68e41ea9fad21ea3c6a9d Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Mon, 7 Sep 2026 02:28:12 -0400 Subject: [PATCH] Refresh cached plugin bar shell facades Co-Authored-By: GPT-5.6 Sol --- shell/plugins/bar/Bar.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/plugins/bar/Bar.qml b/shell/plugins/bar/Bar.qml index 251536c4..be9fece4 100644 --- a/shell/plugins/bar/Bar.qml +++ b/shell/plugins/bar/Bar.qml @@ -229,7 +229,6 @@ Item { function pluginBarApiFor(pluginId, moduleName, registered) { var key = String(pluginId || "") if (!key) return null - if (pluginBarApis[key]) return pluginBarApis[key] var pluginShell = null if (registered && root.shell && typeof root.shell.pluginShellForId === "function") { @@ -243,6 +242,11 @@ Item { pluginShell = root.shell.pluginShellForBarEntry(key, moduleName) } + if (pluginBarApis[key]) { + pluginBarApis[key].shell = pluginShell + return pluginBarApis[key] + } + var api = pluginBarApiComponent.createObject(null, { pluginId: key, moduleName: String(moduleName || ""),