Browse Source

Added missing Connections to minStartSpinBox

Malte Veerman 7 years ago
parent
commit
44b7e07321
1 changed files with 9 additions and 0 deletions
  1. 9 0
      import/qml/FanItem.qml

+ 9 - 0
import/qml/FanItem.qml

@@ -454,6 +454,15 @@ Rectangle {
                         fan.minStart = Math.round(value * 2.55)
                     }
                 }
+
+                Connections {
+                    target: root
+                    onFanChanged: if (!!fan) minStartInput.value = fan.minStart / 2.55
+                }
+                Connections {
+                    target: fan
+                    onMinPwmChanged: minStartInput.value = fan.minStart / 2.55
+                }
             }
         }