diff options
author | dodoradio <dodoradio@outlook.com> | 2023-07-21 17:15:53 +0100 |
---|---|---|
committer | dodoradio <dodoradio@outlook.com> | 2023-07-21 17:19:55 +0100 |
commit | c57c0cf188ccfdab8a3881a97a3568bc3be27afb (patch) | |
tree | fbc58b9c34375a56d2333221bf110d0a050278cf /src/graphs/StepsLineGraph.qml | |
parent | be6c18b988175ba0b1c54d390e4e5989b1b79037 (diff) |
Implement new dataChanged signal for file updates
Diffstat (limited to '')
-rw-r--r-- | src/graphs/StepsLineGraph.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphs/StepsLineGraph.qml b/src/graphs/StepsLineGraph.qml index c654901..ddfcf5f 100644 --- a/src/graphs/StepsLineGraph.qml +++ b/src/graphs/StepsLineGraph.qml @@ -33,7 +33,9 @@ Item { Component.onCompleted: { stepsGraph.loadGraphData(stepsDataLoader.getDataFromTo(startTime,endTime)) } - StepsDataLoader { id: stepsDataLoader } + StepsDataLoader { id: stepsDataLoader + onDataChanged: stepsGraph.loadGraphData(getDataFromTo(startTime,endTime)) + } VerticalLabels { // labels column id: markerParent width: parent.width/8 |