changeset 103:5064eeb1c76f

* #1492875: Increase fractional digits of plugin parameter values
author Chris Cannam
date Thu, 15 Jun 2006 11:08:22 +0000
parents 8ce53683d0d7
children 1348818e7be7
files widgets/PluginParameterBox.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/PluginParameterBox.cpp	Fri May 12 16:51:19 2006 +0000
+++ b/widgets/PluginParameterBox.cpp	Thu Jun 15 11:08:22 2006 +0000
@@ -170,6 +170,7 @@
             spinbox->setSuffix(QString(" %1").arg(unit));
             spinbox->setSingleStep(qtz);
             spinbox->setValue(value);
+            spinbox->setDecimals(4);
             connect(spinbox, SIGNAL(valueChanged(double)),
                     this, SLOT(spinBoxChanged(double)));
             m_layout->addWidget(spinbox, i + offset, 2);