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

[473-spinbox] DistributionEditor: set lower bound for mean spinbox (Closes #473)

Merging branch '473-spinbox'  into 'main'.

See merge request !1455
parents 4408c867 cdc97572
No related branches found
No related tags found
1 merge request!1455DistributionEditor: set lower bound for mean spinbox
Pipeline #91947 passed
......@@ -31,6 +31,7 @@ void initDistribution(DistributionItem* newDistribution,
if (auto* nd = dynamic_cast<SymmetricResolutionItem*>(newDistribution)) {
nd->setMean(meanVal);
nd->setMeanDecimals(4);
nd->mean().setLimits(RealLimits::positive());
}
newDistribution->initDistribution(meanVal);
......
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