Pay attention to indeterminate state in onUnitsChanged().
Fixes https://gitlab.com/kicad/code/kicad/issues/13127
This commit is contained in:
parent
4b71295eef
commit
2a32bc4372
|
@ -174,6 +174,7 @@ void UNIT_BINDER::onUnitsChanged( wxCommandEvent& aEvent )
|
|||
SetUnits( provider->GetUserUnits() );
|
||||
m_iuScale = &provider->GetIuScale();
|
||||
|
||||
if( !IsIndeterminate() )
|
||||
SetValue( temp );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue