Merge PR #799: Show consumption history also if there's only a root meter

This commit is contained in:
jenkins 2022-04-06 17:16:38 +02:00
commit 4f6222213c

View File

@ -158,7 +158,7 @@ MainViewBase {
ConsumersHistory {
Layout.fillWidth: true
Layout.preferredHeight: width
visible: consumers.count > 0
visible: consumers.count > 0 || rootMeter != null
colors: root.thingColors
consumers: consumers
}