Skip to content

Commit

Permalink
Convert display symbol back to unit (#7908)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Sep 16, 2021
1 parent c646540 commit 7468c4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEditLIB/Util/Utilities.cpp
Expand Up @@ -1288,6 +1288,8 @@ QString Utilities::convertSymbolToUnit(const QString symbol)
// Greek Omega
if (symbol.compare(QChar(937)) == 0) {
return "Ohm";
} else if (symbol.compare(QString("%1C").arg(QChar(176))) == 0) {
return "degC";
} else {
return symbol;
}
Expand Down

0 comments on commit 7468c4e

Please sign in to comment.