Revert "[applets/batterymonitor] PowerManagement: Fix layout height without inhibitions"

This reverts commit 354f7da871.

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
wilder-5.25
Nate Graham 4 years ago
parent cdae8fef89
commit 033d005d62
  1. 2
      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

Loading…
Cancel
Save