TD: Fix decimal separator of dimensions
When the system separator isn't '.' we want to make sure to use it.
This commit is contained in:
committed by
WandererFan
parent
953ae1e6e9
commit
4ce9fbc57c
@@ -655,6 +655,7 @@ std::string DrawViewDimension::getFormatedValue(int partial)
|
||||
QChar dp = QChar::fromLatin1('.');
|
||||
if (loc.decimalPoint() != dp) {
|
||||
specStr.replace(dp,loc.decimalPoint());
|
||||
specVal.replace(dp,loc.decimalPoint());
|
||||
}
|
||||
//Remove space between dimension and degree sign
|
||||
if ((Type.isValue("Angle")) || (Type.isValue("Angle3Pt"))) {
|
||||
|
||||
Reference in New Issue
Block a user