aboutsummaryrefslogtreecommitdiffstats
path: root/QMLWidgets/Tire_Pressure/TirePressure.qml
diff options
context:
space:
mode:
authorSuchinton Chakravarty <suchinton.2001@gmail.com>2024-10-30 16:13:15 +0530
committerSuchinton Chakravarty <suchinton.2001@gmail.com>2024-10-30 19:39:08 +0530
commitbaee04c181eb9043606797da2f223a1fafed1ae1 (patch)
treeffabbfd86e8212a878f9ae77baa0696419da88e3 /QMLWidgets/Tire_Pressure/TirePressure.qml
parent18fdc7e1bcf160f8e9bbad406f1556c3d1911734 (diff)
- Fixed Stutter while setting values using slider (when databroker is connected), Caused due to the values being sent at every step on main thread. - Improved error handeling if playback file is empty/ not found - Fixed Tire pressure values not being sent when connected to databroker - Selected tire pressure value and unit is updated on LCD display as selected Bug-AGL: SPEC-5161 Change-Id: I66ed5f2e36bd0b0a84743e2c2a8af0de955cf4ba Signed-off-by: Suchinton Chakravarty <suchinton.2001@gmail.com>
Diffstat (limited to 'QMLWidgets/Tire_Pressure/TirePressure.qml')
-rw-r--r--QMLWidgets/Tire_Pressure/TirePressure.qml2
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: