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 } ////////////////////////////////////////////////////////////////////////////