fix(desktop-widgets): Fixed a bug where the widget settings context action didn't show if you didn't have the settings in the manifest

This commit is contained in:
Spyridon Siarapis
2026-03-06 21:40:57 +01:00
parent 397c5d155b
commit c2b2dac1fb
@@ -302,7 +302,7 @@ Item {
if (DesktopWidgetRegistry.isPluginWidget(widgetId)) {
var pluginId = widgetId.replace("plugin:", "");
var manifest = PluginRegistry.getPluginManifest(pluginId);
hasSettings = manifest && manifest.entryPoints && manifest.entryPoints.settings;
hasSettings = manifest && manifest.entryPoints && (manifest.entryPoints.settings || manifest.entryPoints.desktopWidgetSettings);
} else {
hasSettings = DesktopWidgetRegistry.widgetSettingsMap[widgetId] !== undefined;
}