From 033d005d62ef014fe8641ef88b3331cb299e1895 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 17 Jan 2022 12:20:04 -0700 Subject: [PATCH] Revert "[applets/batterymonitor] PowerManagement: Fix layout height without inhibitions" This reverts commit 354f7da87157f5256ee8b4a2220473f775baf905. Somehow it prevents inhibitions from being visible in the UI. Since the reason is not yet understood, let's revert for now to prevent releasing a regression while we investigate. CCMAIL: me@ratijas.tk --- .../batterymonitor/package/contents/ui/PowerManagementItem.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml b/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml index 8422bba54..457dfeedc 100644 --- a/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml +++ b/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml @@ -54,8 +54,6 @@ ColumnLayout { Layout.fillWidth: true - visible: visibleChildren.length > 0 - InhibitionHint { Layout.fillWidth: true visible: pmSource.data["PowerDevil"] && pmSource.data["PowerDevil"]["Is Lid Present"] && !pmSource.data["PowerDevil"]["Triggers Lid Action"] ? true : false