mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Don't fire events when loading dialog state.
(Fixes crash when opening Pin Properties dialog.)
This commit is contained in:
parent
3f85071f91
commit
29a818218a
@ -541,7 +541,7 @@ void DIALOG_SHIM::LoadControlState()
|
||||
if( m_unitBinders.contains( win ) && !m_unitBinders[ win ]->UnitsInvariant() )
|
||||
{
|
||||
if( j.is_number_integer() )
|
||||
m_unitBinders[ win ]->SetValue( j.get<int>() );
|
||||
m_unitBinders[ win ]->ChangeValue( j.get<int>() );
|
||||
}
|
||||
else if( wxComboBox* combo = dynamic_cast<wxComboBox*>( win ) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user