Skip to content
Snippets Groups Projects
Commit eeb74032 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm indirection

parent de24e0d4
No related branches found
No related tags found
1 merge request!2003In GUI, remove option to switch beteen nm and angstrom, degrees and radians.
......@@ -21,7 +21,7 @@ using std::variant;
void DoubleProperty::init(const QString& label, const QString& tooltip, double value,
const QString& uidPrefix)
{
init(label, tooltip, value, Unit::unitless, uidPrefix);
init(label, tooltip, value, Unit::unitless, 3, 0.01, RealLimits::nonnegative(), uidPrefix);
}
void DoubleProperty::init(const QString& label, const QString& tooltip, double value, uint decimals,
......
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