Spinboxes now correct when rounding. (#6748)
* Spinboxes now correct when rounding. Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com> * Changes from PR Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com> * Fixed tests after change to rounding in spinbox Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
afc531d4c3
commit
7c88f20e1e
@@ -1460,7 +1460,7 @@ QString DoubleSpinBox::stringValue(double value, bool truncated) const
|
||||
numDecimals = 0;
|
||||
}
|
||||
|
||||
return toString(value, numDecimals, locale(), isGroupSeparatorShown());
|
||||
return toString(value, numDecimals, locale(), isGroupSeparatorShown(), true);
|
||||
}
|
||||
|
||||
void DoubleSpinBox::updateToolTip(double value)
|
||||
|
||||
Reference in New Issue
Block a user