summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/ebike-ui')
-rw-r--r--basicsuite/ebike-ui/StatsPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicsuite/ebike-ui/StatsPage.qml b/basicsuite/ebike-ui/StatsPage.qml
index 2b3d418..9b204f0 100644
--- a/basicsuite/ebike-ui/StatsPage.qml
+++ b/basicsuite/ebike-ui/StatsPage.qml
@@ -65,7 +65,7 @@ Page {
// On new trip data (save clicked), switch index to new trip
Connections {
target: tripdata
- onTripDataSaved: tripView.setCurrentIndex(index)
+ function onTripDataSaved(index) { tripView.setCurrentIndex(index) }
}
RoundButton {