hefty: bar: resources: dont keep settings open

This commit is contained in:
end-4
2026-03-15 17:31:28 +01:00
parent 6b7a12fc9f
commit f02bcdcce7
@@ -223,11 +223,11 @@ HBarWidgetWithPopout {
component SysInfoPopupContent: W.ChoreographerLoader {
id: sysInfoPopupContent
property bool showSettings: false
sourceComponent: W.ChoreographerGridLayout {
id: popupRoot
rowSpacing: 10
property bool showSettings: false
onShownChanged: {
if (shown) {
@@ -266,13 +266,13 @@ HBarWidgetWithPopout {
implicitSize: C.Appearance.rounding.normal * 2
text: "settings"
iconSize: 20
onClicked: sysInfoPopupContent.showSettings = !sysInfoPopupContent.showSettings;
checked: sysInfoPopupContent.showSettings
onClicked: popupRoot.showSettings = !popupRoot.showSettings;
checked: popupRoot.showSettings
}
}
W.FadeLoader {
shown: sysInfoPopupContent.showSettings
shown: popupRoot.showSettings
Layout.fillWidth: true
sourceComponent: SysInfoPopupConfig {}
}