From 9573071483575894d5cf554613bd7ddb7e344238 Mon Sep 17 00:00:00 2001 From: Emeric Date: Wed, 17 Jan 2024 16:32:50 +0100 Subject: [PATCH] Minor bugfixes --- qml/MobileApplication.qml | 2 +- qml/MobileMenu.qml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/qml/MobileApplication.qml b/qml/MobileApplication.qml index 4260e6b..8d2d5e3 100644 --- a/qml/MobileApplication.qml +++ b/qml/MobileApplication.qml @@ -427,7 +427,7 @@ ApplicationWindow { }, State { name: "DevicePlantSensor" - PropertyChanges { target: appHeader; title: deviceManager.getDeviceModelTheengs(selectedDevice.deviceModel); } + PropertyChanges { target: appHeader; headerTitle: deviceManager.getDeviceModelTheengs(selectedDevice.deviceModel); } PropertyChanges { target: screenDeviceList; visible: false; } PropertyChanges { target: screenDevicePlantSensor; visible: true; } PropertyChanges { target: screenDeviceThermometer; visible: false; } diff --git a/qml/MobileMenu.qml b/qml/MobileMenu.qml index 3a5b857..67d2e0b 100644 --- a/qml/MobileMenu.qml +++ b/qml/MobileMenu.qml @@ -47,19 +47,19 @@ Rectangle { signal deviceSettingsButtonClicked() function setActiveDeviceData() { - menuDeviceData.selected = true - menuDeviceHistory.selected = false - menuDeviceSettings.selected = false + menuDeviceData.highlighted = true + menuDeviceHistory.highlighted = false + menuDeviceSettings.highlighted = false } function setActiveDeviceHistory() { - menuDeviceData.selected = false - menuDeviceHistory.selected = true - menuDeviceSettings.selected = false + menuDeviceData.highlighted = false + menuDeviceHistory.highlighted = true + menuDeviceSettings.highlighted = false } function setActiveDeviceSettings() { - menuDeviceData.selected = false - menuDeviceHistory.selected = false - menuDeviceSettings.selected = true + menuDeviceData.highlighted = false + menuDeviceHistory.highlighted = false + menuDeviceSettings.highlighted = true } ////////////////////////////////////////////////////////////////////////////