diff options
Diffstat (limited to 'src/widget/wnumber.cpp')
-rw-r--r-- | src/widget/wnumber.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widget/wnumber.cpp b/src/widget/wnumber.cpp index 6690257538..0299c01d77 100644 --- a/src/widget/wnumber.cpp +++ b/src/widget/wnumber.cpp @@ -47,8 +47,10 @@ void WNumber::setup(QDomNode node, const SkinContext& context) { setValue(0.); } -void WNumber::onConnectedControlValueChanged(double v) { - setValue(v); +void WNumber::onConnectedControlChanged(double dParameter, double dValue) { + Q_UNUSED(dParameter); + // We show the actual control value instead of its parameter. + setValue(dValue); } void WNumber::setValue(double dValue) { |