# HG changeset patch # User Chris Cannam # Date 1150369702 0 # Node ID 5064eeb1c76fe2d0b6bbe0fb6cba63629a29ccd6 # Parent 8ce53683d0d7ba8c892b333c396522247aaaf007 * #1492875: Increase fractional digits of plugin parameter values diff -r 8ce53683d0d7 -r 5064eeb1c76f widgets/PluginParameterBox.cpp --- 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);