Set even color for MQTT connect button

This commit is contained in:
Alex Spataru 2021-11-11 22:29:46 -06:00
parent 2f45a8e259
commit 5fe6830f15
2 changed files with 3 additions and 3 deletions

View File

@ -284,9 +284,9 @@ Control {
icon.height: 24
font.bold: true
Layout.fillWidth: true
icon.color: Cpp_ThemeManager.highlight
icon.color: Cpp_ThemeManager.ledEnabled
checked: Cpp_MQTT_Client.isConnectedToHost
palette.buttonText: Cpp_ThemeManager.highlight
palette.buttonText: Cpp_ThemeManager.ledEnabled
onClicked: Cpp_MQTT_Client.toggleConnection()
text: (checked ? qsTr("Disconnect") :
qsTr("Connect to broker")) + " "

View File

@ -468,7 +468,7 @@ FramelessWindow.CustomWindow {
icon.height: 24
font.bold: true
Layout.fillWidth: true
icon.color: Cpp_ThemeManager.highlight
icon.color: Cpp_ThemeManager.ledEnabled
checked: Cpp_MQTT_Client.isConnectedToHost
onClicked: Cpp_MQTT_Client.toggleConnection()
palette.buttonText: Cpp_ThemeManager.ledEnabled