UNIT_BINDER should support long long ints
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10870
This commit is contained in:
parent
a4aa447b95
commit
eb1164fc93
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue