浏览代码

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

Maldela 9 年之前
父节点
当前提交
feadbb2e01
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 })
             }
         }