Show consumption history also if there's only a root meter

This commit is contained in:
Michael Zanetti 2022-03-30 10:25:04 +02:00
parent c94509c886
commit 350930c703

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
}