Skip to content
Snippets Groups Projects
Commit 763c48de authored by Ludwig Jaeck's avatar Ludwig Jaeck
Browse files

Revert "DistributionEditor: set lower bound for mean spinbox"

This reverts commit 762b8890.
parent 762b8890
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,6 @@ void DistributionSelector::createMeanSpinBox(DoubleProperty& d) ...@@ -126,7 +126,6 @@ void DistributionSelector::createMeanSpinBox(DoubleProperty& d)
if (m_meanConfig) { if (m_meanConfig) {
if (m_meanConfig->scientific) { if (m_meanConfig->scientific) {
auto* sb = GUI::Util::createScientificSpinBox(m_formLayout, d); auto* sb = GUI::Util::createScientificSpinBox(m_formLayout, d);
sb->setMinimum(std::numeric_limits<double>::min());
connect(sb, &ScientificSpinBox::valueChanged, [this, &d](double v) { connect(sb, &ScientificSpinBox::valueChanged, [this, &d](double v) {
d.setValue(v); d.setValue(v);
emit distributionChanged(); emit distributionChanged();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment