From ecb7a9d448e517382e8063cc975c62cbc00e02ff Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Sun, 31 Aug 2025 21:57:28 -0400 Subject: [PATCH] BarWidgets: fixed NPill conditional open left or right that I broke earlier. --- Modules/Bar/Bar.qml | 3 +++ Widgets/NWidgetLoader.qml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/Modules/Bar/Bar.qml b/Modules/Bar/Bar.qml index 6b78479..ac8364b 100644 --- a/Modules/Bar/Bar.qml +++ b/Modules/Bar/Bar.qml @@ -53,6 +53,7 @@ Variants { // Left Section - Dynamic Widgets Row { id: leftSection + objectName: "leftSection" height: parent.height anchors.left: parent.left @@ -79,6 +80,7 @@ Variants { // Center Section - Dynamic Widgets Row { id: centerSection + objectName: "centerSection" height: parent.height anchors.horizontalCenter: parent.horizontalCenter @@ -104,6 +106,7 @@ Variants { // Right Section - Dynamic Widgets Row { id: rightSection + objectName: "rightSection" height: parent.height anchors.right: bar.right diff --git a/Widgets/NWidgetLoader.qml b/Widgets/NWidgetLoader.qml index c0a623e..611e0cb 100644 --- a/Widgets/NWidgetLoader.qml +++ b/Widgets/NWidgetLoader.qml @@ -35,6 +35,11 @@ Item { } } } + + if (item.hasOwnProperty("onLoaded")) { + item.onLoaded() + } + //Logger.log("NWidgetLoader", "Loaded", widgetName, "on screen", item.screen.name) } }