Skip to content

Modules/energy: Fix graph showing wrong data

Sönke Holz requested to merge spholz/kinfocenter:fix-graph into master

Emit dataChanged in StatisticsProvider::load when the history of a device couldn't be obtained (as the data is cleared in that case in line 173).

Currently, clicking on a device that has no history still displays the data of the device that was viewed before.

Before (the laptop battery history is still shown): image

After (the correct inline message is shown): image

Merge request reports

Loading