UNIT_BINDER should support long long ints

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10870
This commit is contained in:
Jon Evans 2022-05-31 21:50:52 -04:00
parent a4aa447b95
commit eb1164fc93
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ bool UNIT_BINDER::Validate( double aMin, double aMax, EDA_UNITS aUnits )
}
void UNIT_BINDER::SetValue( int aValue )
void UNIT_BINDER::SetValue( long long int aValue )
{
double value = aValue;
double displayValue = m_originTransforms.ToDisplay( value, m_coordType );

View File

@ -84,7 +84,7 @@ public:
/**
* Set new value (in Internal Units) for the text field, taking care of units conversion.
*/
virtual void SetValue( int aValue );
virtual void SetValue( long long int aValue );
void SetValue( const wxString& aValue );