Skip to content
Snippets Groups Projects

DistributionEditor: set lower bound for mean spinbox

Merged Ludwig Jaeck requested to merge 473-spinbox into main
All threads resolved!
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -126,7 +126,6 @@ void DistributionSelector::createMeanSpinBox(DoubleProperty& d)
if (m_meanConfig) {
if (m_meanConfig->scientific) {
auto* sb = GUI::Util::createScientificSpinBox(m_formLayout, d);
sb->setMinimum(std::numeric_limits<double>::min());
connect(sb, &ScientificSpinBox::valueChanged, [this, &d](double v) {
d.setValue(v);
emit distributionChanged();
Loading