diff options
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/GyroChart.qml')
-rw-r--r-- | tradeshow/iot-sensortag/resources/base/GyroChart.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/GyroChart.qml b/tradeshow/iot-sensortag/resources/base/GyroChart.qml index e14bc62..3faf879 100644 --- a/tradeshow/iot-sensortag/resources/base/GyroChart.qml +++ b/tradeshow/iot-sensortag/resources/base/GyroChart.qml @@ -70,6 +70,11 @@ BaseChart { } } + onClicked: { + if (sensor) + sensor.recalibrate(); + } + title: qsTr("Gyroscope") rightSide: true |