Index: sources/gui/qml/components/BaseSwitch.qml =================================================================== diff -u -r01a8c935f7d90ce3b168970765c0f20ea0c1a273 -r3d5bd682a4dc4bd36e26ca17067bafd489fa970b --- sources/gui/qml/components/BaseSwitch.qml (.../BaseSwitch.qml) (revision 01a8c935f7d90ce3b168970765c0f20ea0c1a273) +++ sources/gui/qml/components/BaseSwitch.qml (.../BaseSwitch.qml) (revision 3d5bd682a4dc4bd36e26ca17067bafd489fa970b) @@ -29,8 +29,8 @@ implicitHeight : Variables.sliderCircleDiameter + ( _root.margin * 2 ) radius : implicitHeight anchors.centerIn: parent - color : _root.checked ? Colors.backgroundButtonSelect : Colors.createTreatmentInactive - border.color : _root.checked ? Colors.borderButton : Colors.createTreatmentInactive + color : _root.checked && _root.active ? Colors.backgroundButtonSelect : Colors.createTreatmentInactive + border.color : _root.checked && _root.active ? Colors.borderButton : Colors.createTreatmentInactive Rectangle { x: _root.checked ? parent.width - width - _root.margin : _root.margin