diff options
Diffstat (limited to 'QMLWidgets/Tire_Pressure')
-rw-r--r-- | QMLWidgets/Tire_Pressure/TirePressure.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/QMLWidgets/Tire_Pressure/TirePressure.qml b/QMLWidgets/Tire_Pressure/TirePressure.qml index 0102fba..4c02417 100644 --- a/QMLWidgets/Tire_Pressure/TirePressure.qml +++ b/QMLWidgets/Tire_Pressure/TirePressure.qml @@ -16,6 +16,7 @@ Item { property color darkbg: "#131313" property int selectedTireIndex: -1 + signal valueChanged(int newValue) // Move these functions here so they're accessible to all buttons function resetAllButtons() { @@ -33,6 +34,7 @@ Item { function selectButton(index) { selectedTireIndex = index; + valueChanged(index); switch(index) { case 0: |