More choices in Sketcher grid and later switching to um

This commit is contained in:
jriegel
2013-12-21 19:15:28 +01:00
parent eaebae18f0
commit 152ecf2df9
3 changed files with 16 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ QString UnitsSchemaInternal::schemaTranslate(Base::Quantity quant,double &factor
}else if(UnitValue < 0.001){
unitString = QString::fromLatin1("nm");
factor = 0.000001;
}else if(UnitValue < 1.0){
}else if(UnitValue < 0.1){
unitString = QString::fromUtf8("\xC2\xB5m");
factor = 0.001;
}else if(UnitValue < 10000.0){