Explorar o código

fixed nasty bug that caused fans to loose their temps if stoppoint was changed

Maldela %!s(int64=9) %!d(string=hai) anos
pai
achega
feadbb2e01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/contents/ui/PwmFan.qml

+ 1 - 1
package/contents/ui/PwmFan.qml

@@ -395,7 +395,7 @@ Rectangle {
 
             Connections {
                 target: fan
-                onMinPwmChanged: fanOffCheckBox.checked = hasTempCheckBox.checked = Qt.binding(function() { return !!fan ? fan.minPwm == 0 : false })
+                onMinPwmChanged: fanOffCheckBox.checked = Qt.binding(function() { return !!fan ? fan.minPwm == 0 : false })
             }
         }