Commit 49588f8d authored by Jasem Mutlaq's avatar Jasem Mutlaq

Adjust decimals if the minimum is less than 0.001

parent f9b8097b
......@@ -714,6 +714,11 @@ void Capture::updateFrameProperties(int reset)
exposureIN->setMinimum(min);
exposureIN->setMaximum(max);
exposureIN->setSingleStep(step);
if (min < 0.001)
exposureIN->setDecimals(6);
else
exposureIN->setDecimals(3);
}
if (currentCCD->getMinMaxStep(frameProp, "WIDTH", &min, &max, &step))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment