Skip to content

Commit

Permalink
Minor bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Jan 17, 2024
1 parent 4f1ea20 commit 9573071
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion qml/MobileApplication.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
18 changes: 9 additions & 9 deletions qml/MobileMenu.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 9573071

Please sign in to comment.