diff --git a/assets/qml/Panes/SetupPanes/MQTT.qml b/assets/qml/Panes/SetupPanes/MQTT.qml index dc5bfc24..d643dbb4 100644 --- a/assets/qml/Panes/SetupPanes/MQTT.qml +++ b/assets/qml/Panes/SetupPanes/MQTT.qml @@ -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")) + " " diff --git a/assets/qml/Windows/MQTTConfiguration.qml b/assets/qml/Windows/MQTTConfiguration.qml index d4b64a41..def1a664 100644 --- a/assets/qml/Windows/MQTTConfiguration.qml +++ b/assets/qml/Windows/MQTTConfiguration.qml @@ -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