Entries typed into the text size field should be read as mils
Previously, they were being interpreted as inches, and then being displayed as mils - leading to a multiplication by 1000 if there was no unit string included. Fixes https://gitlab.com/kicad/code/kicad/issues/5117
This commit is contained in:
parent
9716c62e32
commit
259cacf648
|
@ -505,8 +505,8 @@ void FIELDS_GRID_TABLE<T>::SetValue( int aRow, int aCol, const wxString &aValue
|
|||
break;
|
||||
|
||||
case FDC_TEXT_SIZE:
|
||||
field.SetTextSize( wxSize( ValueFromString( m_userUnits, aValue ),
|
||||
ValueFromString( m_userUnits, aValue ) ) );
|
||||
field.SetTextSize( wxSize( ValueFromString( m_userUnits, aValue, true ),
|
||||
ValueFromString( m_userUnits, aValue, true ) ) );
|
||||
break;
|
||||
|
||||
case FDC_ORIENTATION:
|
||||
|
|
Loading…
Reference in New Issue