mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Set even color for MQTT connect button
This commit is contained in:
parent
2f45a8e259
commit
5fe6830f15
@ -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")) + " "
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user