Skip to content

Commit

Permalink
[TD]Always show degree symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Nov 7, 2019
1 parent f3fcabd commit c773e20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Mod/TechDraw/App/DrawViewDimension.cpp
Expand Up @@ -652,11 +652,11 @@ std::string DrawViewDimension::getFormatedValue(int partial)
Base::Tools::toStdString(specVal) +
ssSuffix;
} else if (partial == 2) { //just the unit
if (showUnits()) {
if ((Type.isValue("Angle")) || (Type.isValue("Angle3Pt"))) {
QRegExp space(QString::fromUtf8("\\s"));
userUnits.remove(space);
}
if ((Type.isValue("Angle")) || (Type.isValue("Angle3Pt"))) {
QRegExp space(QString::fromUtf8("\\s"));
userUnits.remove(space);
result = Base::Tools::toStdString(userUnits);
} else if (showUnits()) {
result = Base::Tools::toStdString(userUnits);
} else {
result = "";
Expand Down

0 comments on commit c773e20

Please sign in to comment.