diff widgets/AudioDial.cpp @ 219:1fff998ae4a9

* Fix failure to update mapped value when setValue is called
author Chris Cannam
date Mon, 05 Mar 2007 13:01:14 +0000
parents e554ab9a4408
children e6d0b097d102
line wrap: on
line diff
--- a/widgets/AudioDial.cpp	Mon Mar 05 12:00:32 2007 +0000
+++ b/widgets/AudioDial.cpp	Mon Mar 05 13:01:14 2007 +0000
@@ -337,6 +337,13 @@
 }
 
 
+void AudioDial::setValue(int value)
+{
+    QDial::setValue(value);
+    updateMappedValue(value);
+}
+
+
 void AudioDial::setMappedValue(float mappedValue)
 {
     if (m_rangeMapper) {