commit a3483a158d3273fbf37f2aaf25dc2adcc72371da
parent 441897d8ed27814dcee61f851c6139deb52c9184
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Fri, 27 Aug 2021 18:05:40 +0200
This is the right way to bind the parameter
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/examples/plugins/dc-offset/skin/main.qml b/examples/plugins/dc-offset/skin/main.qml
@@ -13,5 +13,8 @@ Rectangle {
to: param.maxValue
value: param.value
inputMode: Dial.Vertical
+ onMoved: {
+ param.value = value;
+ }
}
}
\ No newline at end of file