mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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,7 +174,8 @@ void UNIT_BINDER::onUnitsChanged( wxCommandEvent& aEvent )
|
||||
SetUnits( provider->GetUserUnits() );
|
||||
m_iuScale = &provider->GetIuScale();
|
||||
|
||||
SetValue( temp );
|
||||
if( !IsIndeterminate() )
|
||||
SetValue( temp );
|
||||
}
|
||||
|
||||
aEvent.Skip();
|
||||
|
Loading…
x
Reference in New Issue
Block a user